Skip to content

Commit

Permalink
vCenter: pci and sr-iov provisioing in vcenter playbook
Browse files Browse the repository at this point in the history
- Correct check from contrailvm to contrail_vm

Change-Id: Iac0bcefcd48438a185b47d54f068617b131da2fe
Closes-Bug: #1775666
  • Loading branch information
Amudha committed Jul 5, 2018
1 parent d9e39c2 commit 17f6174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playbooks/roles/vcenter/tasks/main.yml
Expand Up @@ -237,7 +237,7 @@

- name: Add pci nics to ContrailVM
include: add_pci_nics.yml esxi_host={{item}}
when: item.contrail_vm.pci_devices is defined and item.contrailvm.pci_devices
when: item.contrail_vm.pci_devices is defined and item.contrail_vm.pci_devices
with_items: "{{ esxi_servers }}"

- name: Wait for pci nic add completion
Expand All @@ -250,7 +250,7 @@

- name: Add sriov nics to ContrailVM
include: add_sriov_nics.yml esxi_host={{item}}
when: item.contrail_vm.sr_iov_nics is defined and item.contrailvm.sr_iov_nics
when: item.contrail_vm.sr_iov_nics is defined and item.contrail_vm.sr_iov_nics
with_items: "{{ esxi_servers }}"

- name: Wait for sriov nic add completion
Expand Down

0 comments on commit 17f6174

Please sign in to comment.