From 6606e1544438f93a1d181f2083c14192a19423a4 Mon Sep 17 00:00:00 2001 From: krumel Date: Sun, 27 Feb 2022 01:27:21 +0100 Subject: [PATCH] small fixes --- playbooks/srv-print.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/playbooks/srv-print.yml b/playbooks/srv-print.yml index ccbe4e3..fc9422d 100644 --- a/playbooks/srv-print.yml +++ b/playbooks/srv-print.yml @@ -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 \ No newline at end of file + - name: restart nginx + service: + name: nginx + state: restarted