feat: finalize tag logic

This commit is contained in:
Simon Cornet 2025-10-23 10:30:42 +02:00
commit 7e3d87483c
3 changed files with 12 additions and 4 deletions

View file

@ -2,10 +2,14 @@
# install updates
- name: "install updates"
tags: "update"
tags:
- "update"
- "never"
ansible.builtin.include_tasks: "update.yaml"
# initiate reboot
- name: "initiate reboot"
tags: "reboot"
tags:
- "reboot"
- "never"
ansible.builtin.include_tasks: "reboot.yaml"

View file

@ -2,7 +2,9 @@
# reboot the system
- name: "reboot the system"
tags: "reboot"
tags:
- "update"
- "never"
ansible.builtin.reboot:
msg: "Reboot initiated by Ansible"
reboot_timeout: 120

View file

@ -2,7 +2,9 @@
# install updates
- name: "install updates"
tags: "update"
tags:
- "update"
- "never"
block:
# install updates - debian