small fixes

This commit is contained in:
krumel
2022-02-27 01:27:21 +01:00
parent 69106fba43
commit 6606e15444

View File

@ -37,6 +37,11 @@
- name: configure cups for remote access
shell: cupsctl --remote-admin --remote-any --share-printers
- name:
service:
name: cups
state: restarted
- name: configure nginx to scan images on request
block:
- name: copy config to sites-available
@ -56,11 +61,11 @@
state: absent
- name: copy htpasswd
file:
copy:
src: templates/htpasswd_scan
dest: /etc/nginx/htpasswd/
- name:
service:
name: cups
state: restarted
- name: restart nginx
service:
name: nginx
state: restarted