squid: better replacement in minifirewall config
This commit is contained in:
parent
33e29657a7
commit
59dd03c91e
|
@ -16,6 +16,7 @@ The **patch** part changes incrementally at each release.
|
||||||
* squid: minifirewall main file is configurable
|
* squid: minifirewall main file is configurable
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
* squid: better replacement in minifirewall config
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
dest: "{{ minifirewall_main_file }}"
|
dest: "{{ minifirewall_main_file }}"
|
||||||
line: "HTTPSITES='0.0.0.0/0'"
|
line: "HTTPSITES='0.0.0.0/0'"
|
||||||
|
regexp: "HTTPSITES='.*'"
|
||||||
insertafter: "^#HTTPSITES="
|
insertafter: "^#HTTPSITES="
|
||||||
notify: restart minifirewall
|
notify: restart minifirewall
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue