xoxys.cups/handlers/main.yml
Robert Kaussow 9a7b73eeb6
Some checks failed
continuous-integration/drone/push Build is failing
add nginx vhost and base cupsd config
2019-02-10 18:21:25 +01:00

20 lines
356 B
YAML

---
- name: Restart service
systemd:
name: org.cups.cupsd
state: restarted
daemon_reload: yes
enabled: yes
listen: __cupsd_restart
become: True
become_user: root
- name: Reload nginx
systemd:
state: reloaded
name: nginx
listen: __nginx_reload
delegate_to: "{{ cups_nginx_server }}"
become: True
become_user: root