This commit is contained in:
benjamyn committed 2023-05-25 10:06:15 +10:00
commit 47cd582d3a
8 files changed
+105

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
---
- name: run updates (debian)
apt: upgrade=dist force_apt_get=yes
tags:
- debian
- update
when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
- name: run updates (rhel)
yum:
name: '*'
state: latest
tags:
- rhel
- update
when: ansible_distribution == 'CentOS' or ansible_distribution == 'RedHat' or ansible_distribution == 'AlmaLinux'
- name: run updates (arch)
community.general.pacman:
update_cache: true
upgrade: true
when: ansible_distribution == 'Archlinux'