mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-26 12:05:09 +01:00
Merged system update from pc and server repository
This commit is contained in:
parent
59a3128737
commit
683221dbd1
14
playbook.yml
14
playbook.yml
@ -1,10 +1,15 @@
|
||||
---
|
||||
- name: general host setup
|
||||
hosts: all
|
||||
- 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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# role native-apt-update
|
||||
# role independent-system-apt-update
|
||||
This role updates the packages
|
||||
|
||||
# upgrade
|
3
roles/independent_system-update/meta/main.yml
Normal file
3
roles/independent_system-update/meta/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
dependencies:
|
||||
- { role: independent-system-pacman, when: ansible_distribution == 'Archlinux' }
|
||||
- { role: independent-system-apt-update, when: ansible_distribution == "Debian" }
|
@ -1,4 +0,0 @@
|
||||
- name: update pacman
|
||||
pacman:
|
||||
update_cache: yes
|
||||
upgrade: yes
|
@ -1,3 +0,0 @@
|
||||
dependencies:
|
||||
- { role: native-pacman-update, when: ansible_distribution == 'Archlinux' }
|
||||
- { role: native-apt-update, when: ansible_distribution == "Debian" }
|
Loading…
Reference in New Issue
Block a user