Add explicit version;Add cni plugin;Add vApp properties to node template
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-28 10:25:25 +01:00
parent 146887e9e1
commit edca98549c
5 changed files with 27 additions and 1 deletions

View File

@ -37,6 +37,26 @@
loop_control:
index_var: index
- name: Add vApp properties (required for Network Protocol Profiles)
community.vmware.vmware_guest:
name: "{{ (item | basename | split('.'))[:-1] | join('.') }}"
vapp_properties:
- id: guestinfo.dns.servers
value: ${dns:{{ vcenter_info.network }}}
- id: guestinfo.dns.domains
value: ${searchPath:{{ vcenter_info.network }}}
- id: guestinfo.interface.0.ip.0.address
value: ip:{{ vcenter_info.network }}
- id: guestinfo.interface.0.ip.0.netmask
value: ${netmask:{{ vcenter_info.network }}}
- id: guestinfo.interface.0.route.0.gateway
value: ${gateway:{{ vcenter_info.network }}}
when: existing_ova.results[index] is failed
loop: "{{ ova_deploy.results }}"
loop_control:
index_var: index
label: "{{ item.item }}"
- name: Create snapshot on deployed VM's
community.vmware.vmware_guest_snapshot:
folder: "{{ vcenter_info.folder }}"

View File

@ -14,6 +14,7 @@ providers:
cert-manager:
url: "/opt/metacluster/cluster-api/cert-manager/{{ _template.version.cert_manager }}/cert-manager.yaml"
version: "{{ _template.version.cert_manager }}"
## -- Controller settings -- ##
VSPHERE_SERVER: "{{ _template.hv.fqdn }}"