initial commit
This commit is contained in:
parent
d37e718000
commit
fa8ab497c2
7
tasks/debian.yml
Normal file
7
tasks/debian.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Upgrade all packages
|
||||
yum:
|
||||
name: "*"
|
||||
state: latest
|
||||
become: True
|
||||
become_user: root
|
6
tasks/main.yml
Normal file
6
tasks/main.yml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
- import_tasks: redhat.yml
|
||||
when: "'redhat' in group_names or 'redhat-arm' in group_names"
|
||||
|
||||
- import_tasks: debian.yml
|
||||
when: "'debian' in group_names"
|
5
tasks/proxmox.yml
Normal file
5
tasks/proxmox.yml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
- name: Upgrade server
|
||||
apt:
|
||||
update_cache: yes
|
||||
upgrade: dist
|
Loading…
Reference in New Issue
Block a user