Use interface autodetection;Skip TLS Verify
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
edca98549c
commit
a364a7c359
@ -1,4 +1,6 @@
|
||||
- name: Install harbor chart
|
||||
- block:
|
||||
|
||||
- name: Install harbor chart
|
||||
kubernetes.core.helm:
|
||||
name: harbor
|
||||
chart_ref: /opt/metacluster/helm-charts/harbor
|
||||
@ -8,7 +10,7 @@
|
||||
kubeconfig: "{{ kubeconfig.path }}"
|
||||
values: "{{ components.harbor.chart_values }}"
|
||||
|
||||
- name: Ensure harbor API availability
|
||||
- name: Ensure harbor API availability
|
||||
ansible.builtin.uri:
|
||||
url: https://registry.{{ vapp['metacluster.fqdn'] }}/api/v2.0/health
|
||||
method: GET
|
||||
@ -19,7 +21,7 @@
|
||||
retries: 5
|
||||
delay: 30
|
||||
|
||||
- name: Push images to registry
|
||||
- name: Push images to registry
|
||||
ansible.builtin.shell:
|
||||
cmd: >-
|
||||
skopeo copy \
|
||||
@ -37,7 +39,13 @@
|
||||
loop_control:
|
||||
label: "{{ item | basename }}"
|
||||
|
||||
- name: Configure K3s node for private registry
|
||||
- name: Configure K3s node for private registry
|
||||
ansible.builtin.template:
|
||||
dest: /etc/rancher/k3s/registries.yaml
|
||||
src: registries.j2
|
||||
|
||||
module_defaults:
|
||||
ansible.builtin.uri:
|
||||
validate_certs: no
|
||||
status_code: [200, 201]
|
||||
body_format: json
|
||||
|
@ -37,7 +37,7 @@
|
||||
loop_control:
|
||||
index_var: index
|
||||
|
||||
- name: Add vApp properties (required for Network Protocol Profiles)
|
||||
- name: Add vApp properties on deployed VM's
|
||||
community.vmware.vmware_guest:
|
||||
name: "{{ (item | basename | split('.'))[:-1] | join('.') }}"
|
||||
vapp_properties:
|
||||
|
@ -35,5 +35,5 @@ VSPHERE_SSH_AUTHORIZED_KEY: "{{ _template.cluster.publickey }}"
|
||||
|
||||
KUBERNETES_VERSION: "{{ _template.cluster.version }}"
|
||||
CONTROL_PLANE_ENDPOINT_IP: "{{ _template.cluster.vip }}"
|
||||
VIP_NETWORK_INTERFACE: "eth0"
|
||||
VIP_NETWORK_INTERFACE: ""
|
||||
EXP_CLUSTER_RESOURCE_SET: "true"
|
||||
|
Loading…
Reference in New Issue
Block a user