kayobe/ansible/group_vars/all/ssh
Mark Goddard cbd6fcc522 Make SSH keys configurable
Defaults to using stack/.ssh/id_rsa on the control host
2017-02-16 10:44:31 +00:00

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