openshift-container-platfor.../check-dns-host-name-resolut...

15 строки
373 B
YAML

---
- hosts: all
gather_facts: no
vars:
description: Ensure DNS hostname resolution works before continuing
tasks:
- name: Wait for DNS hostname resolution - will try for up to 33 minutes
wait_for:
port: 22
host: '{{ inventory_hostname }}'
connect_timeout: 10
timeout: 2000
state: started
connection: local