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:
|
||||
|
||||
- ansible.builtin.shell:
|
||||
cmd: "curl -k https://{{ cluster.virtualip }}:6443/livez?verbose"
|
||||
return_content: yes
|
||||
cmd: "curl -sk https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose"
|
||||
register: api_readycheck
|
||||
- ansible.builtin.debug:
|
||||
var: api_readycheck
|
||||
var: api_readycheck.stdout
|
||||
|
||||
- name: Additional nodes -- Wait for available API
|
||||
ansible.builtin.wait_for:
|
||||
@ -163,11 +162,10 @@
|
||||
K3S_URL: "{{ 'https://' + ( cluster.virtualip | ansible.utils.ipaddr('address') ) + ':6443' }}"
|
||||
|
||||
- ansible.builtin.shell:
|
||||
cmd: "curl -k https://{{ cluster.virtualip }}:6443/livez?verbose"
|
||||
return_content: yes
|
||||
cmd: "curl -sk https://{{ cluster.virtualip | ansible.utils.ipaddr('address') }}:6443/livez?verbose"
|
||||
register: api_readycheck
|
||||
- ansible.builtin.debug:
|
||||
var: api_readycheck
|
||||
var: api_readycheck.stdout
|
||||
|
||||
rescue:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user