From d82c338c70529bcbe8746005d9bb1251a3fe9bc5 Mon Sep 17 00:00:00 2001 From: Wendell Jones Date: Wed, 28 May 2025 14:08:40 -0400 Subject: [PATCH 1/4] deleting file for sonarqube --- sonar-project.properties | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 sonar-project.properties diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index 8e98922..0000000 --- a/sonar-project.properties +++ /dev/null @@ -1,2 +0,0 @@ -sonar.projectKey=wjones_updates_AYnaaRO3RhIriH2jtzo0 -sonar.qualitygate.wait=true From 1736581fe691cd1c176862bccd5440f27b649c67 Mon Sep 17 00:00:00 2001 From: Wendell Jones Date: Mon, 2 Jun 2025 19:22:15 -0400 Subject: [PATCH 2/4] add yaml to install fish shell --- fish_install.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 fish_install.yaml diff --git a/fish_install.yaml b/fish_install.yaml new file mode 100644 index 0000000..fb71b80 --- /dev/null +++ b/fish_install.yaml @@ -0,0 +1,29 @@ +--- +- hosts: debianhosts + gather_facts: no + tasks: + - name: Update all installed packages using APT module + apt: + name: 'fish' + state: latest + update_cache: yes + only_upgrade: yes + register: apt_update_status + + # - name: Update all installed packages using APT module + # apt: + # name: '*' + # state: latest + # update_cache: yes + # only_upgrade: yes + # register: apt_update_status + + # - name: Remove packages not needed anymore + # apt: + # autoremove: yes + + # - name: Reboot when packages were updated + # reboot: + # post_reboot_delay: 60 + # when: apt_update_status.changed +# From b4afb361609b559453a87f86cbda4f14cafbefd7 Mon Sep 17 00:00:00 2001 From: Wendell Jones Date: Mon, 2 Jun 2025 19:24:30 -0400 Subject: [PATCH 3/4] Add fish_install.yml --- fish_install.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 fish_install.yml diff --git a/fish_install.yml b/fish_install.yml new file mode 100644 index 0000000..a963f00 --- /dev/null +++ b/fish_install.yml @@ -0,0 +1,29 @@ +--- +- hosts: debianhosts + gather_facts: no + tasks: + - name: Update all installed packages using APT module + apt: + name: 'fish' + state: latest + update_cache: yes + only_upgrade: yes + register: apt_update_status + + # - name: Update all installed packages using APT module + # apt: + # name: '*' + # state: latest + # update_cache: yes + # only_upgrade: yes + # register: apt_update_status + + # - name: Remove packages not needed anymore + # apt: + # autoremove: yes + + # - name: Reboot when packages were updated + # reboot: + # post_reboot_delay: 60 + # when: apt_update_status.changed +# \ No newline at end of file From ab4d9b0546e690c17947d6e085168d8ef666640f Mon Sep 17 00:00:00 2001 From: Wendell Jones Date: Mon, 2 Jun 2025 19:28:25 -0400 Subject: [PATCH 4/4] Update fish_install.yml --- fish_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_install.yml b/fish_install.yml index a963f00..b2c1736 100644 --- a/fish_install.yml +++ b/fish_install.yml @@ -7,7 +7,7 @@ name: 'fish' state: latest update_cache: yes - only_upgrade: yes + only_upgrade: no register: apt_update_status # - name: Update all installed packages using APT module