You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
451 B

  1. ---
  2. - name: Set base_dir
  3. set_fact:
  4. base_dir: "{{ playbook_dir }}/.generated/"
  5. - name: Create base_dir
  6. file:
  7. path: "{{ base_dir }}"
  8. state: directory
  9. recurse: true
  10. - name: Store json files in base_dir
  11. template:
  12. src: "{{ item }}"
  13. dest: "{{ base_dir }}/{{ item }}"
  14. with_items:
  15. - network.json
  16. - storage.json
  17. - availability-sets.json
  18. - bastion.json
  19. - masters.json
  20. - minions.json
  21. - clear-rg.json