lab-ansible/roles/virt-common/handlers/main.yml
2023-12-28 18:33:05 +01:00

23 lines
426 B
YAML

# vim: ft=yaml.ansible
# code: language=ansible
---
- name: Reload firewalld
ansible.builtin.service:
name: firewalld
state: reloaded
- name: Restart sshd
ansible.builtin.service:
name: sshd
state: restarted
- name: Restart systemd-resolved
ansible.builtin.service:
name: systemd-resolved
state: restarted
- name: Upgrade system packages
ansible.builtin.dnf:
name: '*'
state: latest