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