initial commit

This commit is contained in:
Ansible Servercow
2024-11-19 16:04:17 +01:00
commit 67c5aae913
26 changed files with 438 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
- name: Run apk update
ansible.builtin.apk:
update_cache: yes
register: apk_result
- name: Run Package Upgrade (apk)
ansible.builtin.apk:
upgrade: yes

View File

@@ -0,0 +1,10 @@
- name: Run Cache refresh (apt)
ansible.builtin.apt:
update_cache: yes
register: apt_result
- name: Run Package Upgrade (apt)
ansible.builtin.apt:
upgrade: dist
force: true
autoclean: true

View File

@@ -0,0 +1,15 @@
- name: APT run autoremove with purge
ansible.builtin.apt:
autoremove: yes
purge: yes
when: purge_autoremove | bool
- name: APT run autoremove without purge
ansible.builtin.apt:
autoremove: yes
purge: no
when: not purge_autoremove
- name: APT run autoclean
ansible.builtin.apt:
autoclean: yes

View File

@@ -0,0 +1,3 @@
- name: Upgrade Debian Repos to newest Major Version
task:
a