ansible-role-ssh/defaults/main.yaml

30 lines
1.0 KiB
YAML

# Copyright 2015 Red Hat, Inc.
#
# 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_user_name:
ssh_user_home: "/home/{{ ssh_user_name }}"
ssh_user_group: "{{ ssh_user_name }}"
ssh_key_private_content:
ssh_key_private_dest: "{{ ssh_user_home }}/.ssh/id_rsa"
ssh_key_private_src: id_rsa.j2
ssh_key_public_content:
ssh_key_public_dest: "{{ ssh_user_home }}/.ssh/id_rsa.pub"
ssh_key_public_src: id_rsa.pub.j2
ssh_known_hosts_content:
ssh_known_hosts_dest: "{{ ssh_user_home }}/.ssh/known_hosts"
ssh_known_hosts_src: known_hosts.j2