mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored playbooks and optimized main.py
This commit is contained in:
10
playbook.yml
Normal file
10
playbook.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
- name: Execute CyMaIS Play
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: "Load 'constructor' tasks"
|
||||
include_tasks: "tasks/constructor.yml"
|
||||
- name: "Load '{{host_type}}' tasks"
|
||||
include_tasks: "tasks/{{host_type}}.yml"
|
||||
- name: "Load 'destructor' tasks"
|
||||
include_tasks: "tasks/destructor.yml"
|
||||
become: true
|
Reference in New Issue
Block a user