ansible-role-system/handlers/main.yml

26 lines
483 B
YAML
Raw Normal View History

2021-04-10 22:11:19 +02:00
---
# 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