ansible-common/handlers/main.yml

26 lines
494 B
YAML
Raw Normal View History

- name: restart systemd-timesyncd
systemd:
name: systemd-timesyncd
state: restarted
- name: restart systemd-journald
systemd:
name: systemd-journald
state: restarted
- name: restart systemd-resolved
systemd:
name: systemd-resolved
state: restarted
- name: restart sshd
systemd:
name: sshd
state: restarted
when: ansible_os_family == 'Archlinux'
- name: restart ssh
systemd:
name: ssh
state: restarted
when: ansible_os_family == 'Debian'