Fix keys/uri's/var references
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
80c22d2355
commit
eb7cbd629a
10
playbook.yml
10
playbook.yml
@ -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:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user