aboutsummaryrefslogtreecommitdiff
path: root/ansible/group_vars
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2019-01-04 15:04:54 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2019-01-04 15:06:49 +0100
commitcc70c3640eeb06d9129cd624c0750f2db70648a7 (patch)
tree864b088bc0149cc6e19d9c0e3f67e5b5f3916af1 /ansible/group_vars
parent33700d2b70a1f3fbfd412a0483865f930cb2facc (diff)
downloadinfra-cc70c3640eeb06d9129cd624c0750f2db70648a7.tar.gz
infra-cc70c3640eeb06d9129cd624c0750f2db70648a7.tar.bz2
infra-cc70c3640eeb06d9129cd624c0750f2db70648a7.tar.xz
infra-cc70c3640eeb06d9129cd624c0750f2db70648a7.zip
lxc-host: Major refactoring.
o Removing radvd support, should be handled by itself. Better support for setting ipv6 addresses instead. o Moving out UFW stupport, should be moved to the ufw package. o Better variables, default and file names.
Diffstat (limited to 'ansible/group_vars')
-rw-r--r--ansible/group_vars/all/host_database.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/ansible/group_vars/all/host_database.yml b/ansible/group_vars/all/host_database.yml
index cbc1582..1898ccc 100644
--- a/ansible/group_vars/all/host_database.yml
+++ b/ansible/group_vars/all/host_database.yml
@@ -1,3 +1,8 @@
+# Generate hwaddr with
+# echo $(od -vN 6 -An -tx1 /dev/urandom) |tr ' ' :
+# Note that the last bit of the first byte can't be set! Keep that byte even!
+# After you boot the container you'll get the IPv6 address
+
host_database:
birgitte:
interfaces:
@@ -15,6 +20,8 @@ host_database:
ipv6:
address: cafe::1
netmask: 64
+
+ # Birgitte
nextcloud:
interfaces:
eth0:
@@ -24,3 +31,35 @@ host_database:
address: 192.168.90.101
netmask: 24
gateway: 192.168.90.100
+
+ conflatorio:
+ interfaces:
+ lxc0-int:
+ ipv4:
+ address: 192.168.70.1
+ netmask: 24
+ ipv6:
+ address: fd56:1ae9:097d:3ddd::1
+ netmask: 64
+
+ conflatorio-test1:
+ interfaces:
+ veth0:
+ hwaddr: 66:01:9d:6a:e6:cd
+ ipv4:
+ address: 192.168.70.2
+ netmask: 24
+ ipv6:
+ address: fd56:1ae9:097d:3ddd::2
+ netmask: 64
+
+ conflatorio-test2:
+ interfaces:
+ veth0:
+ hwaddr: 6a:c6:27:92:dd:84
+ ipv4:
+ address: 192.168.70.3
+ netmask: 24
+ ipv6:
+ address: fd56:1ae9:097d:3ddd::3
+ netmask: 64