aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/lxc-host/handlers/main.yml
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/roles/lxc-host/handlers/main.yml
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/roles/lxc-host/handlers/main.yml')
-rw-r--r--ansible/roles/lxc-host/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/lxc-host/handlers/main.yml b/ansible/roles/lxc-host/handlers/main.yml
index 7e7dc9c..aa399c7 100644
--- a/ansible/roles/lxc-host/handlers/main.yml
+++ b/ansible/roles/lxc-host/handlers/main.yml
@@ -20,3 +20,8 @@
become: yes
ufw:
state: reloaded
+
+- name: restart lxc_container
+ lxc_container:
+ name: "{{ name }}"
+ state: restarted