mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-10 15:32:09 -03:30
CI: ensure kubevirt VMs are available as part of provisionning
Allow to use the provisionning playbook from multiples users without duplicating the ssh check.
This commit is contained in:
parent
315313dd10
commit
71ae3c78e2
@ -9,3 +9,16 @@
|
||||
name: packet-ci
|
||||
- name: Update inventory for Molecule
|
||||
meta: refresh_inventory
|
||||
|
||||
- name: Wait until SSH is available
|
||||
hosts: all
|
||||
become: false
|
||||
gather_facts: false
|
||||
|
||||
tasks:
|
||||
- name: Wait until SSH is available
|
||||
wait_for:
|
||||
host: "{{ ansible_host }}"
|
||||
port: 22
|
||||
timeout: 240
|
||||
delegate_to: localhost
|
||||
|
||||
@ -1,13 +0,0 @@
|
||||
---
|
||||
- name: Wait until SSH is available
|
||||
hosts: all
|
||||
become: false
|
||||
gather_facts: false
|
||||
|
||||
tasks:
|
||||
- name: Wait until SSH is available
|
||||
wait_for:
|
||||
host: "{{ ansible_host }}"
|
||||
port: 22
|
||||
timeout: 240
|
||||
delegate_to: localhost
|
||||
@ -63,8 +63,6 @@ EOF
|
||||
|
||||
fi
|
||||
|
||||
ansible-playbook tests/cloud_playbooks/wait-for-ssh.yml
|
||||
|
||||
run_playbook () {
|
||||
playbook=$1
|
||||
shift
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user