cbd6fcc522
Defaults to using stack/.ssh/id_rsa on the control host
20 lines
611 B
Plaintext
20 lines
611 B
Plaintext
---
|
|
###############################################################################
|
|
# SSH configuration.
|
|
|
|
# Type of SSH key.
|
|
ssh_key_type: "rsa"
|
|
|
|
# Name of SSH key.
|
|
ssh_key_name: "{{ 'id_' ~ ssh_key_type }}"
|
|
|
|
# Path to SSH private key on the control host.
|
|
ssh_private_key_path: "{{ lookup('env', 'HOME') ~ '/.ssh/' ~ ssh_key_name }}"
|
|
|
|
# Path to SSH public key on the control host.
|
|
ssh_public_key_path: "{{ ssh_private_key_path ~ '.pub' }}"
|
|
|
|
###############################################################################
|
|
# Dummy variable to allow Ansible to accept this file.
|
|
workaround_ansible_issue_8743: yes
|