diff --git a/tasks/main.yaml b/tasks/main.yaml index d7e5211..da54751 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -2,14 +2,10 @@ # install updates - name: "install updates" - tags: - - "update" - - "never" + tags: "update" ansible.builtin.include_tasks: "update.yaml" # initiate reboot - name: "initiate rboot" - tags: - - "reboot" - - "never" + tags: "reboot" ansible.builtin.include_tasks: "reboot.yaml" diff --git a/tasks/update.yaml b/tasks/update.yaml index 63969a1..7465419 100644 --- a/tasks/update.yaml +++ b/tasks/update.yaml @@ -3,7 +3,6 @@ # install updates - debian - name: "install updates - debian" when: 'ansible_os_family == "Debian"' - tags: "update" block: # install updates @@ -22,7 +21,6 @@ # install updates - rhel - name: "install updates - rhel" when: 'ansible_os_family == "RedHat"' - tags: "update" block: # install updates @@ -47,7 +45,6 @@ # install updates - suse - name: "install updates" when: 'ansible_os_family == "Suse"' - tags: "update" block: # install updates