upt playbook

This commit is contained in:
jaydee 2023-10-27 21:15:42 +02:00
parent 454a46bd26
commit 155a437fa9

View File

@ -5,6 +5,12 @@
vars:
iface: "eth0"
tasks:
- 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
- name: Reconfigure /root/.bashrc
ansible.builtin.lineinfile:
path: /root/.bashrc