ansible-role-system/handlers/main.yml
Denis Knauf 3beb52ad22 init
2021-04-10 22:11:19 +02:00

25 lines
483 B
YAML

---
# vim: set expandtab tabstop=2 shiftwidth=2:
- name: restart services
systemd:
state: restarted
name: "{{item}}"
daemon-reload: yes
with_items:
- rsyslog
- ssh
- name: restart chrony
systemd:
state: restarted
name: chrony
daemon-reload: yes
- name: restart rng-tools
systemd:
state: restarted
name: rng-tools
daemon-reload: yes
- name: restart nullmailer
systemd:
state: restarted
name: nullmailer
daemon-reload: yes