kilip.ssh

Ansible Role: ssh

Ansible role ssh

GitHub Workflow Status GitHub release (latest SemVer) GitHub

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.

About

Ansible role ssh

Install
ansible-galaxy install kilip.ssh
GitHub repository
License
mit
Downloads
636