-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perform port check for node availability #25
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please drop gathering facts its already done in the next step
hosts: all | ||
tasks: | ||
- name: Now lets gather facts | ||
setup: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is already done in the next step
wait_for: | ||
port: 22 | ||
timeout: 660 | ||
state: started |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. We could add it for now
@geekbass had some concerns though |
bc651a0
to
294e20a
Compare
This PR adds a port check (
22
) and blocks for 10 minutes until all designated hosts become available. To accomplish this fact gathering has to be disabled first, and then re-enabled after the checks.