X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=fdio.infra.ansible%2Froles%2Ftopology%2Ftasks%2Fmain.yaml;h=e5b4bb14a422da22c710532029fb6055fcf400dc;hp=4f94060cad11fce46502d8bb4a25cdc4b132af59;hb=0b947247146f27936e986c262fc9f1d641b5ac4f;hpb=d92086e8ee964d2d5700046ef85c6b681844288a diff --git a/fdio.infra.ansible/roles/topology/tasks/main.yaml b/fdio.infra.ansible/roles/topology/tasks/main.yaml index 4f94060cad..e5b4bb14a4 100644 --- a/fdio.infra.ansible/roles/topology/tasks/main.yaml +++ b/fdio.infra.ansible/roles/topology/tasks/main.yaml @@ -2,21 +2,21 @@ # file: roles/topology/tasks/main.yaml - name: Create Topology File - template: + ansible.builtin.template: src: "templates/topology-{{ cloud_topology }}.j2" dest: "../topologies/available/{{ cloud_topology }}-{{ testbed_name }}.yaml" tags: - create-topology-file - name: Create Inventory Folder - file: + ansible.builtin.file: path: "./inventories/cloud_inventory/" state: directory tags: - create-inventory-folder-cloud - name: Create Hosts File - template: + ansible.builtin.template: src: "templates/hosts.j2" dest: "./inventories/cloud_inventory/hosts" tags: