blob: c7e612550e7b160b7f47abf861c6cefab1abf09d [file] [log] [blame]
Zack Williamsba5549c2017-03-25 15:04:45 -07001---
2# ssh-pki/tasks/main.yml
3
Zack Williams44845c62017-04-21 13:57:14 -07004ssh_pki_dir: "{{ playbook_dir }}/ssh_pki"
5credentials_dir: "{{ playbook_dir }}/credentials"
Zack Williamsba5549c2017-03-25 15:04:45 -07006
7# password on SSH CA
8ssh_ca_phrase: "{{ lookup('password', credentials_dir ~ '/ssh_ca_phrase length=64') }}"
9
10# ssh-keygen parameters
11ssh_keytype: rsa
12ssh_keysize: 4096
13
14# lists of keys to generate
15ssh_client_genkeys:
16 - name: headnode
17
18ssh_host_genkeys: []
19