Files
ansible/roles/common/handlers/main.yaml

18 lines
292 B
YAML

---
- name: Update apt cache
ansible.builtin.apt:
update_cache: true
become: true
- name: Restart sshd
service:
name: sshd
state: restarted
become: true
- name: Restart timesyncd
ansible.builtin.systemd:
name: systemd-timesyncd
state: restarted
become: true