Add role for adding docker nodes to swarm

This commit is contained in:
2021-11-10 21:59:04 -05:00
parent 8c69b7af95
commit a0be654b92
8 changed files with 217 additions and 9 deletions

View File

@@ -18,12 +18,3 @@
loop: "{{ skylab_networking | dict2items }}"
loop_control:
label: "{{ item.key }}"
- name: Configure firewall for docker interface
become: true
when: "'docker0' in ansible_interfaces"
ansible.posix.firewalld:
interface: docker0
zone: dmz
permanent: true
immediate: true