Commit 7e3d8748 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: finalize tag logic

parent 122e0474
Loading
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -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"
+3 −1
Original line number Diff line number Diff line
@@ -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
+3 −1
Original line number Diff line number Diff line
@@ -2,7 +2,9 @@

# install updates
- name: "install updates"
  tags: "update"
  tags:
    - "update"
    - "never"
  block:

    # install updates - debian