Skip to content

Instantly share code, notes, and snippets.

@yagonobre
Last active August 16, 2017 00:57
Show Gist options
  • Save yagonobre/65951705b1919db9d9dc49f357c74358 to your computer and use it in GitHub Desktop.
Save yagonobre/65951705b1919db9d9dc49f357c74358 to your computer and use it in GitHub Desktop.
Ansible Bastion
bastion_ip: 10.0.10.10
user: centos
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no {{ user }}@{{ bastion_ip }}"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment