Loading tasks/main.yaml +6 −2 Original line number Diff line number Diff line Loading @@ -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" tasks/reboot.yaml +3 −1 Original line number Diff line number Diff line Loading @@ -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 tasks/update.yaml +3 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ # install updates - name: "install updates" tags: "update" tags: - "update" - "never" block: # install updates - debian Loading Loading
tasks/main.yaml +6 −2 Original line number Diff line number Diff line Loading @@ -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"
tasks/reboot.yaml +3 −1 Original line number Diff line number Diff line Loading @@ -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
tasks/update.yaml +3 −1 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ # install updates - name: "install updates" tags: "update" tags: - "update" - "never" block: # install updates - debian Loading