This commit is contained in:
krumel
2022-02-26 23:09:20 +01:00
parent 7706f2843c
commit c7a226261f

View File

@ -30,13 +30,14 @@
register: cupsd_mod1 register: cupsd_mod1
- name: allow access to the webinterface - name: allow access to the webinterface
blockinfile: replace:
path: /etc/cups/cupsd.conf path: /etc/cups/cupsd.conf
insertafter: '<Location \/admin>' regexp: '<Location \/>[.\n]*<\/Location>'
insertbefore: '<\/Location>' replace: |
block: | <Location \/>
Order allow,deny Order allow,deny
Allow all Allow all
<\/Location>
register: cupsd_mod2 register: cupsd_mod2
- name: - name: