Fix linting errors; Extend firstboot logic
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-06-26 21:01:27 +02:00
parent b7abf25907
commit 662e8984c3
2 changed files with 12 additions and 1 deletions

View File

@ -6,3 +6,14 @@
INSTALL_K3S_SKIP_DOWNLOAD: 'true' INSTALL_K3S_SKIP_DOWNLOAD: 'true'
INSTALL_K3S_EXEC: 'server --cluster-init' INSTALL_K3S_EXEC: 'server --cluster-init'
- name: Ensure API availability
ansible.utils.cli_parse:
command: curl -k https://{{ vapp['guestinfo.ipaddress'] }}:6443/livez?verbose
parser:
name: ansible.utils.json
set_fact: api_readycheck
ignore_errors: yes
until: api_readycheck.apiVersion is defined
retries: 3
delay: 30

View File

@ -16,7 +16,7 @@ components:
parse_logic: yq e '.. | select(has("repository")) | .repository + ":" + .tag' parse_logic: yq e '.. | select(has("repository")) | .repository + ":" + .tag'
harbor: harbor:
version: 1.9.1 # (= Harbor v2.5.1) version: 1.9.1 # (= Harbor v2.5.1)
helm_chart: harbor/harbor helm_chart: harbor/harbor
parse_logic: yq e '.. | select(has("repository")) | .repository + ":" + .tag' parse_logic: yq e '.. | select(has("repository")) | .repository + ":" + .tag'