Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Add ssh-common-args to discovery command. Closes #528. (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
chambridge committed Dec 8, 2017
1 parent 2b49a2d commit d58cf01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rho/host_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def create_ping_inventory(vault, vault_pass, profile_ranges, profile_port,
cmd_string = 'ansible alpha -m raw' \
' -i ' + PING_INVENTORY_PATH \
+ ' --ask-vault-pass -f ' + forks \
+ ' --ssh-common-args="-o ServerAliveInterval=10"' \
+ ' -a \'echo "Hello"\''

my_env = os.environ.copy()
Expand Down

0 comments on commit d58cf01

Please sign in to comment.