regex fix

This commit is contained in:
krumel
2022-02-26 23:15:11 +01:00
parent 10ffe013c0
commit e9fe5072cf

View File

@ -32,7 +32,7 @@
- name: allow access to the webinterface
replace:
path: /etc/cups/cupsd.conf
regexp: '<Location />[.\n]*</Location>'
regexp: '<Location \/>[^<]*<\/Location>'
replace: |
<Location \/>
Order allow,deny