Compare commits
2 Commits
32dda728cb
...
b21b8b5376
Author | SHA1 | Date | |
---|---|---|---|
b21b8b5376 | |||
931eaf366c |
@ -13,10 +13,14 @@
|
|||||||
ansible.builtin.shell:
|
ansible.builtin.shell:
|
||||||
cmd: pinniped get kubeconfig --kubeconfig {{ capi_kubeconfig.path }}
|
cmd: pinniped get kubeconfig --kubeconfig {{ capi_kubeconfig.path }}
|
||||||
register: pinniped_config
|
register: pinniped_config
|
||||||
|
until:
|
||||||
|
- pinniped_config is not failed
|
||||||
|
retries: "{{ playbook.retries }}"
|
||||||
|
delay: "{{ ((storage_benchmark | float) * playbook.delay.short) | int }}"
|
||||||
|
|
||||||
- name: Store kubeconfig in tempfile
|
- name: Store kubeconfig in tempfile
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: "{{ pinniped_kubeconfig.path }}"
|
dest: "{{ pinniped_kubeconfig.path }}/kubeconfig"
|
||||||
content: "{{ pinniped_config.stdout }}"
|
content: "{{ pinniped_config.stdout }}"
|
||||||
mode: 0600
|
mode: 0600
|
||||||
no_log: true
|
no_log: true
|
||||||
|
Reference in New Issue
Block a user