small fixes
This commit is contained in:
@ -37,6 +37,11 @@
|
|||||||
- name: configure cups for remote access
|
- name: configure cups for remote access
|
||||||
shell: cupsctl --remote-admin --remote-any --share-printers
|
shell: cupsctl --remote-admin --remote-any --share-printers
|
||||||
|
|
||||||
|
- name:
|
||||||
|
service:
|
||||||
|
name: cups
|
||||||
|
state: restarted
|
||||||
|
|
||||||
- name: configure nginx to scan images on request
|
- name: configure nginx to scan images on request
|
||||||
block:
|
block:
|
||||||
- name: copy config to sites-available
|
- name: copy config to sites-available
|
||||||
@ -56,11 +61,11 @@
|
|||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: copy htpasswd
|
- name: copy htpasswd
|
||||||
file:
|
copy:
|
||||||
src: templates/htpasswd_scan
|
src: templates/htpasswd_scan
|
||||||
dest: /etc/nginx/htpasswd/
|
dest: /etc/nginx/htpasswd/
|
||||||
|
|
||||||
- name:
|
- name: restart nginx
|
||||||
service:
|
service:
|
||||||
name: cups
|
name: nginx
|
||||||
state: restarted
|
state: restarted
|
||||||
|
|||||||
Reference in New Issue
Block a user