20 lines
356 B
YAML
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
|