diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-02-12 23:14:26 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-02-12 23:14:26 +0100 |
| commit | e807a5b9e0bc3f2b96282d41807610656fa7874b (patch) | |
| tree | af0a7f5926d6e276dc1f66e4c73f7b4e2214864a /roles/ddcutil/handlers | |
| parent | 20cd9cd0983f4efe038cb486aa649e7dd8ea7366 (diff) | |
Add reboot to the playbook as post_task (controlled by flag)
Diffstat (limited to 'roles/ddcutil/handlers')
| -rw-r--r-- | roles/ddcutil/handlers/main.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/ddcutil/handlers/main.yml b/roles/ddcutil/handlers/main.yml index ed0ffa85..dfc50931 100644 --- a/roles/ddcutil/handlers/main.yml +++ b/roles/ddcutil/handlers/main.yml @@ -4,3 +4,8 @@ ansible.builtin.command: cmd: "udevadm control --reload-rules" changed_when: true + +- name: "Require reboot" + ansible.builtin.set_fact: + # This flag is used to trigger a post_task of rebooting after the playbook finishes + reboot_required: true |
