Add fileflob filter; Housekeeping;Add dependency;Upgrade binary
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2022-11-07 13:28:44 +01:00
parent f27dea92e3
commit 5c75452315
7 changed files with 23 additions and 15 deletions

View File

@ -1,7 +1,7 @@
- name: Compress tarballs
community.general.archive:
dest: /opt/metacluster/container-images/image-tarballs.tgz
path: /opt/metacluster/container-images/*
path: /opt/metacluster/container-images/*.tar
format: gz
remove: yes

View File

@ -41,7 +41,7 @@
method: GET
register: api_readycheck
until: api_readycheck.json.status is defined
retries: 3
retries: 5
delay: 30
- name: Generate gitea API token

View File

@ -16,7 +16,7 @@
method: GET
register: api_readycheck
until: api_readycheck.json.Version is defined
retries: 3
retries: 5
delay: 30
- name: Generate argo-cd API token

View File

@ -19,7 +19,7 @@
status_code: [200, 401]
register: api_readycheck
until: api_readycheck.json.apiVersion is defined
retries: 3
retries: 5
delay: 30
- name: Install kubectl tab-completion

View File

@ -1,12 +1,12 @@
- name: Configure clusterctl with hypervisor details
ansible.builtin.blockinfile:
path: /opt/metacluster/manifests/clusterctl.yml
path: /opt/metacluster/manifests/clusterctl.yaml
block: |
## -- Controller settings -- ##
VSPHERE_USERNAME: {{ vapp['hv.username'] }}
VSPHERE_PASSWORD: {{ vapp['hv.password'] }}
## -- Required workload cluster default settings -- ##
VSPHERE_SERVER: "{{ vapp['hv.fqdn'] }}
VSPHERE_SERVER: {{ vapp['hv.fqdn'] }}
VSPHERE_DATACENTER: {{ vcenter_info.datacenter }}
VSPHERE_DATASTORE: {{ vcenter_info.datastore }}
VSPHERE_NETWORK: {{ vcenter_info.network }}