blob: 10f0bc603d733d2dc2c2151af2177f462bb75468 [file] [log] [blame]
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
---
# ssh-pki/tasks/main.yml
ssh_pki_dir: "{{ playbook_dir }}/ssh_pki"
credentials_dir: "{{ playbook_dir }}/credentials"
# password on SSH CA
ssh_ca_phrase: "{{ lookup('password', credentials_dir ~ '/ssh_ca_phrase length=64') }}"
# ssh-keygen parameters
ssh_keytype: rsa
ssh_keysize: 4096
# name of master ssh key for this pod
pod_sshkey_name: "headnode"
# lists of keys to generate
ssh_client_genkeys:
- name: "{{ pod_sshkey_name }}"
ssh_host_genkeys: []