Add fish_install.yml

This commit is contained in:
2025-06-02 19:24:30 -04:00
parent d82c338c70
commit b4afb36160
+29
View File
@@ -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
#