diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2017-11-19 03:15:26 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2017-11-19 12:46:35 +0100 |
commit | 3387c2fdcbe74be6767c5abce5beb9e7df2d3f5b (patch) | |
tree | 6263912c4754a73d13670605d9168267fa19d007 /roles/space_server/defaults | |
parent | 3b795796bd03488a385f3ad42b10b8c0d61282c1 (diff) | |
download | labitat-ansible-3387c2fdcbe74be6767c5abce5beb9e7df2d3f5b.tar.gz labitat-ansible-3387c2fdcbe74be6767c5abce5beb9e7df2d3f5b.tar.xz labitat-ansible-3387c2fdcbe74be6767c5abce5beb9e7df2d3f5b.zip |
space_server: generate DNS, mDNS and dhcp entries
..from the same variables
Diffstat (limited to 'roles/space_server/defaults')
-rw-r--r-- | roles/space_server/defaults/main.yml | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/roles/space_server/defaults/main.yml b/roles/space_server/defaults/main.yml index eb582df..6d6f12d 100644 --- a/roles/space_server/defaults/main.yml +++ b/roles/space_server/defaults/main.yml @@ -14,6 +14,7 @@ packages: - python2-dnf - 'dnf-command(leaves)' - ansible + - python-netaddr - vim-enhanced - git - diffutils @@ -28,5 +29,75 @@ boot: root: device: 'LABEL=BTRFS' options: 'noatime,ssd,compress=lzo' +local_hosts: + - name: ap + mac: 00:0f:23:94:43:0b + mdns: false + ips: + - 10.42.0.2 + - name: doorputer + mac: 00:b3:f6:00:36:be + mdns: false + ips: + - 10.42.0.3 + - name: foodputer + mac: 00:d0:59:37:5e:37 + mdns: false + ips: + - 10.42.0.4 + - name: ap1 + mdns: false + ips: + - 10.42.0.5 + - name: ap2 + mdns: false + ips: + - 10.42.0.6 + - 10.42.0.7 + - name: switch + mac: 00:1b:11:6f:42:f8 + mdns: false + ips: + - 10.42.0.9 + - name: lathe + mdns: false + ips: + - 10.42.0.12 + - name: anna + mac: 00:e0:c5:6e:d6:8d + ips: + - 10.42.1.9 + - name: printbrother + mac: 00:80:77:06:9f:26 + ips: + - 10.42.1.32 + - name: infotron + description: Infoscreen Raspberry Pi + mac: b8:27:eb:2c:5d:3a + ips: + - 10.42.1.34 + - name: spacemon + mac: b8:27:eb:24:f8:50 + ips: + - 10.42.1.35 + - name: jumbotron + description: Jumbotron Raspberry Pi + mac: b8:27:eb:d3:c1:62 + mdns: false + ips: + - 10.42.1.36 + - name: hplaserjet + mac: 94:57:a5:ce:e2:6c + mdns: false + ips: + - 10.42.1.37 + - 2a01:4260:1ab:b:9657:a5ff:fece:e26c + - name: labisound + mac: 00:16:e6:f7:43:b0 + ips: + - 10.42.1.40 + - name: sound + ips: + - 10.42.1.80 # vim: set ts=2 sw=2 et: |