Use interface autodetection;Skip TLS Verify
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-11-28 13:29:56 +01:00
parent edca98549c
commit a364a7c359
3 changed files with 49 additions and 41 deletions

View File

@ -1,3 +1,5 @@
- block:
- name: Install harbor chart - name: Install harbor chart
kubernetes.core.helm: kubernetes.core.helm:
name: harbor name: harbor
@ -41,3 +43,9 @@
ansible.builtin.template: ansible.builtin.template:
dest: /etc/rancher/k3s/registries.yaml dest: /etc/rancher/k3s/registries.yaml
src: registries.j2 src: registries.j2
module_defaults:
ansible.builtin.uri:
validate_certs: no
status_code: [200, 201]
body_format: json

View File

@ -37,7 +37,7 @@
loop_control: loop_control:
index_var: index index_var: index
- name: Add vApp properties (required for Network Protocol Profiles) - name: Add vApp properties on deployed VM's
community.vmware.vmware_guest: community.vmware.vmware_guest:
name: "{{ (item | basename | split('.'))[:-1] | join('.') }}" name: "{{ (item | basename | split('.'))[:-1] | join('.') }}"
vapp_properties: vapp_properties:

View File

@ -35,5 +35,5 @@ VSPHERE_SSH_AUTHORIZED_KEY: "{{ _template.cluster.publickey }}"
KUBERNETES_VERSION: "{{ _template.cluster.version }}" KUBERNETES_VERSION: "{{ _template.cluster.version }}"
CONTROL_PLANE_ENDPOINT_IP: "{{ _template.cluster.vip }}" CONTROL_PLANE_ENDPOINT_IP: "{{ _template.cluster.vip }}"
VIP_NETWORK_INTERFACE: "eth0" VIP_NETWORK_INTERFACE: ""
EXP_CLUSTER_RESOURCE_SET: "true" EXP_CLUSTER_RESOURCE_SET: "true"