Merged system update from pc and server repository

This commit is contained in:
Kevin Veen-Birkenbach 2023-04-18 15:30:22 +02:00
parent 5d28c5b04f
commit 9b065dfc5d
7 changed files with 13 additions and 13 deletions

View File

@ -1,10 +1,15 @@
---
- name: general host setup
- name: general setup
hosts: all
become: true
roles:
- independent_system-update
- name: servers host setup
hosts: servers
become: true
roles:
- system-security
- system-update
- native-journalctl
- native-disc-space-check
- native-free-disc-space
@ -174,10 +179,9 @@
## PC services
- name: general host setup
hosts: all
hosts: personal_computers
become: true
roles:
- system-pacman
- pc_collection-administrator-base
- pc_driver-non-free

View File

@ -1,4 +1,4 @@
# role native-apt-update
# role independent-system-apt-update
This role updates the packages
# upgrade

View File

@ -0,0 +1,3 @@
dependencies:
- { role: independent-system-pacman, when: ansible_distribution == 'Archlinux' }
- { role: independent-system-apt-update, when: ansible_distribution == "Debian" }

View File

@ -1,4 +0,0 @@
- name: update pacman
pacman:
update_cache: yes
upgrade: yes

View File

@ -1,3 +0,0 @@
dependencies:
- { role: native-pacman-update, when: ansible_distribution == 'Archlinux' }
- { role: native-apt-update, when: ansible_distribution == "Debian" }