xoxys.cups/handlers/main.yml

20 lines
356 B
YAML
Raw Normal View History

2019-02-10 15:33:10 +00:00
---
- name: Restart service
systemd:
2019-02-10 17:21:25 +00:00
name: org.cups.cupsd
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