From 5c68b87d673fe66fae77cd32a5341f274c29e60d Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Fri, 23 Dec 2022 12:51:10 +0100 Subject: [PATCH] Upgrade dependency;Fix syntax --- .../roles/workloadcluster/tasks/nodetemplates.yml | 14 +++++++------- ansible/vars/metacluster.yml | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ansible/roles/firstboot/files/ansible_payload/roles/workloadcluster/tasks/nodetemplates.yml b/ansible/roles/firstboot/files/ansible_payload/roles/workloadcluster/tasks/nodetemplates.yml index 3987de9..522290d 100644 --- a/ansible/roles/firstboot/files/ansible_payload/roles/workloadcluster/tasks/nodetemplates.yml +++ b/ansible/roles/firstboot/files/ansible_payload/roles/workloadcluster/tasks/nodetemplates.yml @@ -40,13 +40,13 @@ - name: Add vApp properties on deployed VM's ansible.builtin.shell: cmd: >- - vappproperty-manager \ - -server {{ vapp['hv.fqdn'] }} \ - -username {{ vapp['hv.username'] }} \ - -password {{ vapp['hv.password'] }} \ - -dc {{ vcenter_info.datacenter }} \ - -network {{ vcenter_info.network }} \ - -vm {{ item.instance.hw_name }} + vappprop-manager \ + --server {{ vapp['hv.fqdn'] }} \ + --username {{ vapp['hv.username'] }} \ + --password {{ vapp['hv.password'] }} \ + --datacenter {{ vcenter_info.datacenter }} \ + --network {{ vcenter_info.network }} \ + --virtualmachine {{ item.instance.hw_name }} when: existing_ova.results[index] is failed loop: "{{ ova_deploy.results }}" loop_control: diff --git a/ansible/vars/metacluster.yml b/ansible/vars/metacluster.yml index 95c0cad..e85a88f 100644 --- a/ansible/vars/metacluster.yml +++ b/ansible/vars/metacluster.yml @@ -245,7 +245,7 @@ dependencies: - filename: yq url: http://github.com/mikefarah/yq/releases/download/v4.30.5/yq_linux_amd64 - filename: vappprop-manager - url: https://code.spamasaurus.com/api/packages/djpbessems/generic/vappprop-manager/v0.2.0/vappprop-manager + url: https://code.spamasaurus.com/api/packages/djpbessems/generic/vappprop-manager/v0.3.1/vappprop-manager packages: apt: