Adjust module name for firewalld to work with newer ansible versions

This commit is contained in:
saibotk 2021-03-05 12:34:43 +01:00
parent 41baeefffa
commit a93c313704
Signed by: saibotk
GPG key ID: 67585F0065E261D5

View file

@ -87,7 +87,7 @@
# This step is only needed in docker < 20.10, as docker does this by default now
- name: Trust our proxy network
firewalld:
ansible.posix.firewalld:
zone: trusted
interface: "{{ traefik_docker_bridge_name }}"
permanent: true
@ -141,7 +141,7 @@
when: traefik_tor_enabled | bool
- name: Allow access to services
firewalld:
ansible.posix.firewalld:
service: "{{ item }}"
permanent: true
state: enabled