This commit is contained in:
jaydee 2022-12-16 22:09:02 +01:00
parent 7385b59c72
commit 3d8b111a82
2 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,7 @@ datacenter:
ansible_ssh_pass: lacijaydee
ansible_become_password: lacijaydee
ssh_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
ansible_ssh_common_args: "-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
nas:

View File

@ -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 -
# changed_when: false
# 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