Ansible with bastion

Moki Lv6

1.2.3.4 is Bastion IP.

1
export ANSIBLE_SSH_ARGS='-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ProxyCommand="ssh -W %h:%p -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -q -i ./ssh-keys/ansible/id_ed25519 ansible@1.2.3.4"'
On this page
Ansible with bastion