Galera cluster deployment based on docker swarm using Linux Containers (LXC) with automatic deployment via Ansible.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
489 B

---
- name: lxc default template
template:
src: lxc_default.conf.j2
dest: /etc/lxc/default.conf
remote_src: no
- name: lxc dhcp template
template:
src: lxc_dhcp.conf.j2
dest: /etc/lxc/dhcp.conf
remote_src: no
- name: lxc-net template
template:
src: lxc_net.j2
dest: /etc/default/lxc-net
remote_src: no
- name: Restart lxc-net
systemd:
name: lxc-net
state: restarted
- name: Restart lxc
systemd:
name: lxc
state: restarted