-
jurgenhaas authoredjurgenhaas authored
inithostip.yml 327 B
---
# file: ec2/inithostip.yml
- name: "Add new instance(s) to the inventory"
add_host:
hostname="{{ host }}"
static_ipv4="{{ hostip }}"
groups="{{ initgroups }}"
- name: "Waiting for SSH service becoming available"
wait_for:
host="{{ hostip }}"
port=22
delay=10
timeout=120
state=present