Fix keys/uri's/var references
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2022-04-21 17:32:02 +02:00
parent 80c22d2355
commit eb7cbd629a

View File

@ -143,11 +143,10 @@
- block: - block:
- ansible.builtin.shell: - ansible.builtin.shell:
cmd: "curl -k https://{{ cluster.virtualip }}:6443/livez?verbose" cmd: "curl -sk https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose"
return_content: yes
register: api_readycheck register: api_readycheck
- ansible.builtin.debug: - ansible.builtin.debug:
var: api_readycheck var: api_readycheck.stdout
- name: Additional nodes -- Wait for available API - name: Additional nodes -- Wait for available API
ansible.builtin.wait_for: ansible.builtin.wait_for:
@ -163,11 +162,10 @@
K3S_URL: "{{ 'https://' + ( cluster.virtualip | ansible.utils.ipaddr('address') ) + ':6443' }}" K3S_URL: "{{ 'https://' + ( cluster.virtualip | ansible.utils.ipaddr('address') ) + ':6443' }}"
- ansible.builtin.shell: - ansible.builtin.shell:
cmd: "curl -k https://{{ cluster.virtualip }}:6443/livez?verbose" cmd: "curl -sk https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose"
return_content: yes
register: api_readycheck register: api_readycheck
- ansible.builtin.debug: - ansible.builtin.debug:
var: api_readycheck var: api_readycheck.stdout
rescue: rescue: