initial commit

This commit is contained in:
Robert Kaussow 2018-11-01 15:51:12 +01:00
parent d37e718000
commit fa8ab497c2
3 changed files with 18 additions and 0 deletions

7
tasks/debian.yml Normal file
View File

@ -0,0 +1,7 @@
---
- name: Upgrade all packages
yum:
name: "*"
state: latest
become: True
become_user: root

6
tasks/main.yml Normal file
View 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
View File

@ -0,0 +1,5 @@
---
- name: Upgrade server
apt:
update_cache: yes
upgrade: dist