13 lines
396 B
YAML
13 lines
396 B
YAML
# ------------------------------------------------------------------------------
|
|
# FILE: roles/common/handlers/main.yml
|
|
# ------------------------------------------------------------------------------
|
|
- name: restart chrony
|
|
systemd:
|
|
name: chrony
|
|
state: restarted
|
|
|
|
- name: restart sshd
|
|
systemd:
|
|
name: "{{ 'ssh' if ansible_os_family == 'Debian' else 'sshd' }}"
|
|
state: restarted
|