2024/automation/ansible/roles/common/handlers/main.yml

15 lines
332 B
YAML
Raw Normal View History

---
2024-05-04 20:16:12 +03:00
- name: Restart networking
ansible.builtin.service:
name: networking
state: restarted
- name: Update initramfs
ansible.builtin.command: "update-initramfs -u"
2024-05-04 20:16:12 +03:00
changed_when: true
# register: restart_required
2024-05-04 20:16:12 +03:00
- name: Trigger udev add
ansible.builtin.command: "udevadm trigger --action=add"
changed_when: true