Skip to content

Commit 2876d42

Browse files
committed
Use SSH key defined by ssh_key_path when connecting to Ansible control host
This avoids problems such as "Too many authentication failures" when using SSH agent.
1 parent a4cd243 commit 2876d42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/vars/defaults.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ vault_password_path: "~/vault.password"
1818

1919
ssh_key_path:
2020

21+
ansible_ssh_private_key_file: "{{ ssh_key_path }}"
22+
2123
vxlan_vni:
2224

2325
root_domain: stackhpc.com

0 commit comments

Comments
 (0)