Skip to content

Commit

Permalink
Adjust timeout for Initial Network Check
Browse files Browse the repository at this point in the history
The initial network check is used to detemrine whether the containers
need to be restarted or not. On initial setup they need a restart to get
the networking to work.

60 seconds makes the initial run a lot longer than it needs to be,
setting this much lower (10 seconds) will save time.

Fixes rcbops#485
  • Loading branch information
andymcc committed Aug 29, 2014
1 parent 22dd0ba commit c93472d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc_deployment/roles/container_restart/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- name: Test Container Networking
wait_for: >
port=22
timeout=60
timeout=10
search_regex=OpenSSH
host={{ hostvars[item]['container_address'] }}
with_items: container_groups
Expand Down

0 comments on commit c93472d

Please sign in to comment.