wait for ssh to be available
parent
23c1ec22e4
commit
32720deca8
@ -1,5 +1,10 @@
|
|||||||
---
|
---
|
||||||
# defaults file for setup_linode
|
# defaults file for setup_linode
|
||||||
ssh_keys:
|
ssh_keys:
|
||||||
- /Users/chatton/.ssh/id_rsa.pub
|
- "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"
|
||||||
label: simple-linode
|
label: simple-linode
|
||||||
|
|
||||||
|
# hosts that are added to the generated .ini file.
|
||||||
|
hosts:
|
||||||
|
- user: root
|
||||||
|
ip: "{{my_linode.instance.ipv4[0]}}"
|
||||||
|
|||||||
@ -1,2 +1,4 @@
|
|||||||
[servers]
|
[servers]
|
||||||
{{linode_user}}@{{linode_ip}}
|
{% for host in hosts %}
|
||||||
|
{{host.user}}@{{host.ip}}
|
||||||
|
{% endfor %}
|
||||||
|
|||||||
Loading…
Reference in New Issue