2019-02-10 15:33:10 +00:00
|
|
|
---
|
2019-02-10 16:01:51 +00:00
|
|
|
- name: Restart service
|
|
|
|
systemd:
|
2019-02-10 17:21:25 +00:00
|
|
|
name: org.cups.cupsd
|
2019-02-10 16:01:51 +00:00
|
|
|
state: restarted
|
|
|
|
daemon_reload: yes
|
|
|
|
enabled: yes
|
|
|
|
listen: __cupsd_restart
|
|
|
|
become: True
|
|
|
|
become_user: root
|
2019-02-10 17:21:25 +00:00
|
|
|
|
|
|
|
- name: Reload nginx
|
|
|
|
systemd:
|
|
|
|
state: reloaded
|
|
|
|
name: nginx
|
|
|
|
listen: __nginx_reload
|
|
|
|
delegate_to: "{{ cups_nginx_server }}"
|
|
|
|
become: True
|
|
|
|
become_user: root
|