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=a70107478e1c22fc76897bca7e9915aed508df5f;hb=0b947247146f27936e986c262fc9f1d641b5ac4f;hpb=647a693a245ae450756fb3bd9446db856e712812 diff --git a/fdio.infra.ansible/roles/topology/tasks/main.yaml b/fdio.infra.ansible/roles/topology/tasks/main.yaml index a70107478e..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: - src: "templates/topology_{{ cloud_topology }}.j2" - dest: "../topologies/available/{{ cloud_topology }}_{{ testbed_name }}.yaml" + 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: