Initial commit

This commit is contained in:
DerLinkman
2024-02-02 21:24:08 +01:00
commit b03f7a47e0
7 changed files with 94 additions and 0 deletions

15
update-os/update.yaml Normal file
View File

@@ -0,0 +1,15 @@
---
- name: Update Systems
hosts: all
tasks:
- name: Run Apt Update and upgrade where needed
apt:
update_cache: yes
upgrade: yes
when: ansible_distribution == 'Debian'
- name: Run APK update and upgrade
apk:
update_cache: yes
upgrade: true
when: ansible_distribution == 'Alpine'