mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
This is more accurate, the name 'packet' being an aterfact of history (the Kubevirt jobs used to run on Packet, the previous name of Equinix)
25 lines
479 B
YAML
25 lines
479 B
YAML
---
|
|
- name: Provision Packet VMs
|
|
hosts: localhost
|
|
gather_facts: false
|
|
become: true
|
|
tasks:
|
|
- name: Create Kubevirt VMs
|
|
import_role:
|
|
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
|