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