4f94060cad11fce46502d8bb4a25cdc4b132af59
[csit.git] / fdio.infra.ansible / roles / topology / tasks / main.yaml
1 ---
2 # file: roles/topology/tasks/main.yaml
3
4 - name: Create Topology File
5   template:
6     src: "templates/topology-{{ cloud_topology }}.j2"
7     dest: "../topologies/available/{{ cloud_topology }}-{{ testbed_name }}.yaml"
8   tags:
9     - create-topology-file
10
11 - name: Create Inventory Folder
12   file:
13     path: "./inventories/cloud_inventory/"
14     state: directory
15   tags:
16     - create-inventory-folder-cloud
17
18 - name: Create Hosts File
19   template:
20     src: "templates/hosts.j2"
21     dest: "./inventories/cloud_inventory/hosts"
22   tags:
23     - create-hosts-file-cloud