Explorar o código

Add host config and ssh through jump host

Colin Powell %!s(int64=4) %!d(string=hai) anos
pai
achega
86b96903b7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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