diff options
author | Manuel Buil <mbuil@suse.com> | 2018-10-18 10:26:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-10-18 10:26:33 +0000 |
commit | ebe6bd459f7751fe7a82a6f5c5f78c393465e3fc (patch) | |
tree | 1e83fecf38889352322d3c0c048c64f0f5157a4e /xci/playbooks/roles/create-nodes/tasks/main.yml | |
parent | d8cbea84f9448da633bed36c41f12c4bcfd84ffb (diff) | |
parent | c380a85cb660d07da714ad3adf43439ad7938270 (diff) |
Merge "[Baremetal] Add baremetal support to create-nodes"
Diffstat (limited to 'xci/playbooks/roles/create-nodes/tasks/main.yml')
-rw-r--r-- | xci/playbooks/roles/create-nodes/tasks/main.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/xci/playbooks/roles/create-nodes/tasks/main.yml b/xci/playbooks/roles/create-nodes/tasks/main.yml index 18bc9871..0e51b411 100644 --- a/xci/playbooks/roles/create-nodes/tasks/main.yml +++ b/xci/playbooks/roles/create-nodes/tasks/main.yml @@ -20,10 +20,13 @@ # First we create the opnfv_vm - include_tasks: create_vm.yml - with_indexed_items: "{{ [opnfv_vm_pdf] + nodes }}" + with_indexed_items: "{{ vms_to_create }}" + +- include_tasks: barematalhoststojson.yml + with_items: "{{ baremetal_nodes }}" - name: Start the opnfv vm - virt: + virt: command: start name: opnfv @@ -38,8 +41,6 @@ dest: "{{ baremetal_json_file }}" content: "{{ nodes_json_data | to_nice_json }}" -- debug: var=nodes_json_data - - name: > "Set file permissions such that the baremetal data file can be read by the user executing Ansible" |