From 298e9d87574cfd55e25917ce9f7133f281de5b60 Mon Sep 17 00:00:00 2001 From: Wendell Jones Date: Wed, 10 Sep 2025 07:18:15 -0400 Subject: [PATCH] comment out YUM and APK host configurations in linux_updates.yaml --- linux_updates.yaml | 54 +++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/linux_updates.yaml b/linux_updates.yaml index 343f70c..ee85b9d 100644 --- a/linux_updates.yaml +++ b/linux_updates.yaml @@ -1,24 +1,24 @@ --- -- hosts: yumhosts - gather_facts: no - tasks: - - name: Update all installed packages using YUM module - ansible.builtin.yum: - use_backend: yum3 - name: '*' - state: latest - update_cache: yes - update_only: yes - register: yum_update_status +#- hosts: yumhosts +# gather_facts: no +# tasks: +# - name: Update all installed packages using YUM module +# ansible.builtin.yum: +# use_backend: yum3 +# name: '*' +# state: latest +# update_cache: yes +# update_only: yes +# register: yum_update_status - - name: Remove packages not needed anymore - ansible.builtin.yum: - use_backend: yum3 - autoremove: yes +# - name: Remove packages not needed anymore +# ansible.builtin.yum: +# use_backend: yum3 +# autoremove: yes - - name: Reboot when packages were updated - reboot: - when: yum_update_status.changed +# - name: Reboot when packages were updated +# reboot: +# when: yum_update_status.changed - hosts: debianhosts gather_facts: no @@ -40,15 +40,15 @@ post_reboot_delay: 60 when: apt_update_status.changed -- hosts: apkhosts - tasks: - - name: Update the Package Repositories - apk: - update_cache: yes - - name: Upgrade Packages - apk: - available: yes - upgrade: yes +#- hosts: apkhosts +# tasks: +# - name: Update the Package Repositories +# apk: +# update_cache: yes +# - name: Upgrade Packages +# apk: +# available: yes +# upgrade: yes #- hosts: ipkg # tasks: # - name: Update the Packages installed on Diskstation