aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/topology/tasks/main.yaml
blob: a70107478e1c22fc76897bca7e9915aed508df5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
# file: roles/topology/tasks/main.yaml

- name: Create Topology File
  template:
    src: "templates/topology_{{ cloud_topology }}.j2"
    dest: "../topologies/available/{{ cloud_topology }}_{{ testbed_name }}.yaml"
  tags:
    - create-topology-file

- name: Create Inventory Folder
  file:
    path: "./inventories/cloud_inventory/"
    state: directory
  tags:
    - create-inventory-folder-cloud

- name: Create Hosts File
  template:
    src: "templates/hosts.j2"
    dest: "./inventories/cloud_inventory/hosts"
  tags:
    - create-hosts-file-cloud