9296789da9
Allows to generate SSH keys on a managed host or on localhost Change-Id: I29ec62661c3fe280f9f1101ca79985cb9cf5b4cb
9 lines
265 B
YAML
9 lines
265 B
YAML
---
|
|
|
|
ssh_key_host: '{{ hostvars | first }}'
|
|
ssh_local_key_file: '{{ playbook_dir }}/id_{{ ssh_key_algorithm }}'
|
|
ssh_key_file: '{{ ansible_user_dir }}/.ssh/id_{{ ssh_key_algorithm }}'
|
|
ssh_key_algorithm: ecdsa
|
|
ssh_key_size: 521
|
|
ssh_key_user: '{{ ansible_ssh_user }}'
|