Skip to content

Commit 03c4ff2

Browse files
committed
Turning off bootstrap_wait_for_host by default.
1 parent a0ac166 commit 03c4ff2

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Role Variables
3939
- bootstrap_preview: Should extra software be installed to support all modules
4040
in the "preview" state? This can be set to either "yes", "no" or unset. The
4141
default (set in defaults/main.yml) is set to "yes".
42-
- bootstrap_wait_for_host: Should the bootstrap role wait for the host to be available. Default is "yes", but for debugging with for example Vagrant, toruning it off can help.
42+
- bootstrap_wait_for_host: Should the bootstrap role wait for the host to be available. Default is "no", but for debugging with for example Vagrant, toruning it off can help.
4343

4444
Dependencies
4545
------------

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ bootstrap_user: root
99
bootstrap_preview: yes
1010

1111
# Do you want to wait for the host to be available?
12-
bootstrap_wait_for_host: yes
12+
bootstrap_wait_for_host: no

tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
wait_for:
55
port: "{{ ansible_port | default('22') }}"
66
host: '{{ (ansible_ssh_host | default (ansible_host) ) | default (inventory_hostname) }}'
7+
delay: 30
78
delegate_to: localhost
89
become: no
910
when:

0 commit comments

Comments
 (0)