mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
dayoff
This commit is contained in:
parent
7385b59c72
commit
3d8b111a82
@ -17,6 +17,7 @@ datacenter:
|
|||||||
ansible_ssh_pass: lacijaydee
|
ansible_ssh_pass: lacijaydee
|
||||||
ansible_become_password: lacijaydee
|
ansible_become_password: lacijaydee
|
||||||
ssh_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
ssh_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||||
|
ansible_ssh_common_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
|
||||||
|
|
||||||
|
|
||||||
nas:
|
nas:
|
||||||
|
@ -69,3 +69,9 @@
|
|||||||
# ansible.builtin.shell: curl --insecure -sfL https://192.168.77.106:8543/v3/import/f5679ncdtx68489nqj2rntk8bwv6lcsq4j5qdtnxswkbfbtttn5s5q_c-lq4j4.yaml |sed 's/rancher-agent:v2.6.7/rancher-agent:v2.6.7-linux-arm64/g'| sed 's%beta.kubernetes.io/os%kubernetes.io/os%g'| kubectl apply -f -
|
# ansible.builtin.shell: curl --insecure -sfL https://192.168.77.106:8543/v3/import/f5679ncdtx68489nqj2rntk8bwv6lcsq4j5qdtnxswkbfbtttn5s5q_c-lq4j4.yaml |sed 's/rancher-agent:v2.6.7/rancher-agent:v2.6.7-linux-arm64/g'| sed 's%beta.kubernetes.io/os%kubernetes.io/os%g'| kubectl apply -f -
|
||||||
# changed_when: false
|
# changed_when: false
|
||||||
# ignore_errors: true
|
# ignore_errors: true
|
||||||
|
- name: wait for pods to come up
|
||||||
|
shell: kubectl get pods -o json -n cattle-system
|
||||||
|
register: kubectl_get_pods
|
||||||
|
until: kubectl_get_pods.stdout|from_json|json_query('items[*].status.phase')|unique == ["Running"]
|
||||||
|
retries: 20
|
||||||
|
delay: 30
|
Loading…
x
Reference in New Issue
Block a user