c12s-kubespray/contrib/azurerm/roles/generate-templates/tasks/main.yml

24 lines
451 B
YAML
Raw Normal View History

---
2019-05-16 07:27:43 +00:00
- name: Set base_dir
set_fact:
base_dir: "{{ playbook_dir }}/.generated/"
2019-05-16 07:27:43 +00:00
- name: Create base_dir
file:
path: "{{ base_dir }}"
state: directory
recurse: true
2019-05-16 07:27:43 +00:00
- name: Store json files in base_dir
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