lab-ansible/roles/virt-common/handlers/main.yml

23 lines
426 B
YAML
Raw Permalink Normal View History

2023-10-28 23:00:05 +00:00
# vim: ft=yaml.ansible
2023-10-29 19:46:52 +00:00
# code: language=ansible
2023-10-28 23:00:05 +00:00
---
2023-11-12 17:18:56 +00:00
- name: Reload firewalld
ansible.builtin.service:
name: firewalld
state: reloaded
2023-11-25 17:40:00 +00:00
- name: Restart sshd
ansible.builtin.service:
name: sshd
state: restarted
- name: Restart systemd-resolved
ansible.builtin.service:
name: systemd-resolved
state: restarted
2023-12-28 17:33:05 +00:00
- name: Upgrade system packages
ansible.builtin.dnf:
name: '*'
state: latest