Optimized playbook structure

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-10 15:57:37 +01:00
parent 156b265081
commit 38bbd52aa8
4 changed files with 11 additions and 10 deletions

View File

@ -7,13 +7,6 @@
- role: update
when: mode_update | bool
- name: optimize storage performance
hosts: all
become: true
roles:
- role: system-storage-optimizer
when: path_mass_storage or path_rapid_storage
- name: setup standard wireguard
hosts: wireguard_server
become: true

6
playbook.destructor.yml Normal file
View File

@ -0,0 +1,6 @@
- name: optimize storage performance
hosts: all
become: true
roles:
- role: system-storage-optimizer
when: path_mass_storage or path_rapid_storage

View File

@ -1,6 +1,6 @@
---
- import_playbook: playbook-common.yml
- import_playbook: playbook.constructor.yml
## pc applications
- name: general host setup
@ -102,4 +102,4 @@
roles:
- driver-msi-keyboard-color
- import_playbook: destructor.yml
- import_playbook: playbook.destructor.yml

View File

@ -1,6 +1,6 @@
---
- import_playbook: constructor.yml
- import_playbook: playbook.constructor.yml
- name: servers host setup
hosts: servers
@ -269,3 +269,5 @@
become: true
roles:
- role: nginx-www-redirect
- import_playbook: playbook.destructor.yml