mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-12-22 02:16:15 +01:00
Optimized playbook structure
This commit is contained in:
parent
156b265081
commit
38bbd52aa8
@ -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
6
playbook.destructor.yml
Normal 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
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user