Infra: AWS bootstrap integration
[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