Allow apt-cacher-ng in firewalld.
This commit is contained in:
parent
1686bf44e7
commit
9d9da31649
1 changed files with 7 additions and 0 deletions
|
@ -23,4 +23,11 @@
|
||||||
replace: 'd-i mirror/http/proxy string http://{{ ansible_hostname }}:3142/'
|
replace: 'd-i mirror/http/proxy string http://{{ ansible_hostname }}:3142/'
|
||||||
when: preseedcfg.stat.exists
|
when: preseedcfg.stat.exists
|
||||||
|
|
||||||
|
- name: allow apt-cacher-ng service in firewalld
|
||||||
|
firewalld:
|
||||||
|
zone: internal
|
||||||
|
port: 3142/tcp
|
||||||
|
permanent: yes
|
||||||
|
state: enabled
|
||||||
|
|
||||||
- meta: flush_handlers
|
- meta: flush_handlers
|
||||||
|
|
Loading…
Add table
Reference in a new issue