infra/roles/cups/handlers/main.yml

22 lines
267 B
YAML

---
- name: reload nginx
service:
name: nginx
state: reloaded
- name: restart nginx
service:
name: nginx
state: restarted
- name: restart cups
service:
name: "{{ item }}"
state: restarted
with_items:
- cups
- cups-browsed