Loading playbook.yaml +13 −4 Original line number Diff line number Diff line Loading @@ -16,7 +16,16 @@ changed_when: false failed_when: false # execute the role - name: "execute role: toolbox" ansible.builtin.include_role: name: "toolbox" # install updates - name: "install updates" tags: - "update" - "never" ansible.builtin.include_tasks: "tasks/update.yaml" # initiate reboot - name: "initiate reboot" tags: - "reboot" - "never" ansible.builtin.include_tasks: "tasks/reboot.yaml" tasks/main.yamldeleted 100644 → 0 +0 −15 Original line number Diff line number Diff line --- # install updates - name: "install updates" tags: - "update" - "never" ansible.builtin.include_tasks: "update.yaml" # initiate reboot - name: "initiate reboot" tags: - "reboot" - "never" ansible.builtin.include_tasks: "reboot.yaml" tasks/reboot.yaml +0 −3 Original line number Diff line number Diff line Loading @@ -2,9 +2,6 @@ # reboot the system - name: "reboot the system" tags: - "update" - "never" ansible.builtin.reboot: msg: "Reboot initiated by Ansible" reboot_timeout: 120 Loading tasks/update.yaml +0 −3 Original line number Diff line number Diff line Loading @@ -2,9 +2,6 @@ # install updates - name: "install updates" tags: - "update" - "never" block: # install updates - alpine Loading Loading
playbook.yaml +13 −4 Original line number Diff line number Diff line Loading @@ -16,7 +16,16 @@ changed_when: false failed_when: false # execute the role - name: "execute role: toolbox" ansible.builtin.include_role: name: "toolbox" # install updates - name: "install updates" tags: - "update" - "never" ansible.builtin.include_tasks: "tasks/update.yaml" # initiate reboot - name: "initiate reboot" tags: - "reboot" - "never" ansible.builtin.include_tasks: "tasks/reboot.yaml"
tasks/main.yamldeleted 100644 → 0 +0 −15 Original line number Diff line number Diff line --- # install updates - name: "install updates" tags: - "update" - "never" ansible.builtin.include_tasks: "update.yaml" # initiate reboot - name: "initiate reboot" tags: - "reboot" - "never" ansible.builtin.include_tasks: "reboot.yaml"
tasks/reboot.yaml +0 −3 Original line number Diff line number Diff line Loading @@ -2,9 +2,6 @@ # reboot the system - name: "reboot the system" tags: - "update" - "never" ansible.builtin.reboot: msg: "Reboot initiated by Ansible" reboot_timeout: 120 Loading
tasks/update.yaml +0 −3 Original line number Diff line number Diff line Loading @@ -2,9 +2,6 @@ # install updates - name: "install updates" tags: - "update" - "never" block: # install updates - alpine Loading