@ -10,4 +10,4 @@ config:
/bin/bash ./ansible_swarm_config.sh
swarm_deploy:
/bin/bash docker stack deploy -c swarm-galera.yml stack
docker stack deploy -c swarm-galera.yml stack
@ -1,15 +1,5 @@
---
# handlers file for roles/galera_swarm
- name: Restart lxc
systemd:
name: lxc
state: restarted
- name: Restart lxc-net
name: lxc-net
- name: Restart docker
name: docker
@ -10,11 +10,20 @@
src: lxc_dhcp.conf.j2
dest: /etc/lxc/dhcp.conf
remote_src: no
notify: Restart lxc
- name: lxc-net template
template:
src: lxc_net.j2
dest: /etc/default/lxc-net
notify: Restart lxc-net