feat: finalize tag logic
This commit is contained in:
parent
122e047497
commit
7e3d87483c
3 changed files with 12 additions and 4 deletions
|
|
@ -2,10 +2,14 @@
|
||||||
|
|
||||||
# install updates
|
# install updates
|
||||||
- name: "install updates"
|
- name: "install updates"
|
||||||
tags: "update"
|
tags:
|
||||||
|
- "update"
|
||||||
|
- "never"
|
||||||
ansible.builtin.include_tasks: "update.yaml"
|
ansible.builtin.include_tasks: "update.yaml"
|
||||||
|
|
||||||
# initiate reboot
|
# initiate reboot
|
||||||
- name: "initiate reboot"
|
- name: "initiate reboot"
|
||||||
tags: "reboot"
|
tags:
|
||||||
|
- "reboot"
|
||||||
|
- "never"
|
||||||
ansible.builtin.include_tasks: "reboot.yaml"
|
ansible.builtin.include_tasks: "reboot.yaml"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
# reboot the system
|
# reboot the system
|
||||||
- name: "reboot the system"
|
- name: "reboot the system"
|
||||||
tags: "reboot"
|
tags:
|
||||||
|
- "update"
|
||||||
|
- "never"
|
||||||
ansible.builtin.reboot:
|
ansible.builtin.reboot:
|
||||||
msg: "Reboot initiated by Ansible"
|
msg: "Reboot initiated by Ansible"
|
||||||
reboot_timeout: 120
|
reboot_timeout: 120
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
# install updates
|
# install updates
|
||||||
- name: "install updates"
|
- name: "install updates"
|
||||||
tags: "update"
|
tags:
|
||||||
|
- "update"
|
||||||
|
- "never"
|
||||||
block:
|
block:
|
||||||
|
|
||||||
# install updates - debian
|
# install updates - debian
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue