summaryrefslogtreecommitdiff
path: root/ansible/host_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/host_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/host_vars')
-rw-r--r--ansible/host_vars/birgitte/lxc.yml5
-rw-r--r--ansible/host_vars/conflatorio/lxc.yml9
2 files changed, 10 insertions, 4 deletions
diff --git a/ansible/host_vars/birgitte/lxc.yml b/ansible/host_vars/birgitte/lxc.yml
index 9233b4b..a57d6e6 100644
--- a/ansible/host_vars/birgitte/lxc.yml
+++ b/ansible/host_vars/birgitte/lxc.yml
@@ -1,8 +1,5 @@
-lxc_host_containers:
+lxc_host__containers:
nextcloud:
state: started
-lxc_host__enable_network_cfg: yes
-lxc_host__hardware_if: wlx00e01d0808b2
-lxc_host__br_if: br0
lxc_host__internal_if: int0
diff --git a/ansible/host_vars/conflatorio/lxc.yml b/ansible/host_vars/conflatorio/lxc.yml
new file mode 100644
index 0000000..43e1817
--- /dev/null
+++ b/ansible/host_vars/conflatorio/lxc.yml
@@ -0,0 +1,9 @@
+lxc_host__containers:
+ test1:
+ state: started
+ host_database: conflatorio-test1
+ test2:
+ state: stopped
+ host_database: conflatorio-test2
+ conflatorio-test3:
+ state: absent