mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49:26 +00:00
upt playbook
This commit is contained in:
parent
454a46bd26
commit
155a437fa9
@ -5,6 +5,12 @@
|
|||||||
vars:
|
vars:
|
||||||
iface: "eth0"
|
iface: "eth0"
|
||||||
tasks:
|
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
|
- name: Reconfigure /root/.bashrc
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /root/.bashrc
|
path: /root/.bashrc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user