Initial
This commit is contained in:
commit
47cd582d3a
8 files changed
+105
No files matched your search
@@ -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'
|
||||
Reference in new issue
Block a user