Parcourir la source

Add host config and ssh through jump host

Colin Powell il y a 4 ans
Parent
commit
86b96903b7
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      ansible/ansible.cfg

+ 2 - 2
ansible/ansible.cfg

@@ -1,4 +1,4 @@
 [defaults]
 interpreter_python = auto_legacy_silent
-ansible_ssh_common_args='-o StrictHostKeyChecking=no' 
-
+ansible_ssh_common_args:  '-o "ProxyCommand ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/jails -W %h:%p powellc@jump.unbl.ink"'
+inventory = hosts