mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 20:51:07 +01:00
Merged system update from pc and server repository
This commit is contained in:
parent
59a3128737
commit
683221dbd1
12
playbook.yml
12
playbook.yml
@ -1,10 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: general host setup
|
- name: general setup
|
||||||
hosts: all
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
|
roles:
|
||||||
|
- independent_system-update
|
||||||
|
|
||||||
|
- name: servers host setup
|
||||||
|
hosts: servers
|
||||||
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- system-security
|
- system-security
|
||||||
- system-update
|
|
||||||
- native-journalctl
|
- native-journalctl
|
||||||
- native-disc-space-check
|
- native-disc-space-check
|
||||||
- native-free-disc-space
|
- native-free-disc-space
|
||||||
@ -174,10 +179,9 @@
|
|||||||
|
|
||||||
## PC services
|
## PC services
|
||||||
- name: general host setup
|
- name: general host setup
|
||||||
hosts: all
|
hosts: personal_computers
|
||||||
become: true
|
become: true
|
||||||
roles:
|
roles:
|
||||||
- system-pacman
|
|
||||||
- pc_collection-administrator-base
|
- pc_collection-administrator-base
|
||||||
- pc_driver-non-free
|
- pc_driver-non-free
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# role native-apt-update
|
# role independent-system-apt-update
|
||||||
This role updates the packages
|
This role updates the packages
|
||||||
|
|
||||||
# upgrade
|
# 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