kilip.ssh
Ansible Role: ssh
Ansible role ssh
Role Variables
Here's role variables with default values:
ssh_user: "" # required and must be set
ssh_user_group: "{{ ssh_user }}"
ssh_dir: "/home/{{ ssh_user }}/.ssh"
ssh_private_key: "ssh/id_rsa"
ssh_public_key: "{{ ssh_private_key }}.pub"
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: ssh }
License
MIT
Author Information
This role was created in 2023 by Anthonius Munthi.
Install
ansible-galaxy install kilip.sshLicense
mit
Downloads
636
Owner
