2019-04-01 09:38:33 +00:00
|
|
|
---
|
2016-12-12 16:21:56 +00:00
|
|
|
- set_fact:
|
2019-05-02 21:24:21 +00:00
|
|
|
base_dir: "{{ playbook_dir }}/.generated/"
|
2016-12-12 16:21:56 +00:00
|
|
|
|
2019-05-02 21:24:21 +00:00
|
|
|
- file:
|
|
|
|
path: "{{ base_dir }}"
|
|
|
|
state: directory
|
|
|
|
recurse: true
|
2016-12-12 16:21:56 +00:00
|
|
|
|
2019-05-02 21:24:21 +00:00
|
|
|
- template:
|
|
|
|
src: "{{ item }}"
|
|
|
|
dest: "{{ base_dir }}/{{ item }}"
|
2016-12-12 16:21:56 +00:00
|
|
|
with_items:
|
|
|
|
- network.json
|
|
|
|
- storage.json
|
|
|
|
- availability-sets.json
|
|
|
|
- bastion.json
|
|
|
|
- masters.json
|
|
|
|
- minions.json
|
|
|
|
- clear-rg.json
|