Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kilip/ansible-role-ssh
Ansible role ssh
https://github.com/kilip/ansible-role-ssh
Last synced: 1 day ago
JSON representation
Ansible role ssh
- Host: GitHub
- URL: https://github.com/kilip/ansible-role-ssh
- Owner: kilip
- License: mit
- Created: 2023-09-22T03:28:43.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-13T17:07:48.000Z (6 months ago)
- Last Synced: 2024-05-13T18:32:02.692Z (6 months ago)
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Ansible Role: ssh
=========
Ansible role ssh[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/kilip/ansible-role-ssh/.github/workflows/testing.yml?branch=main&style=flat-square)](https://github.com/kilip/ansible-role-ssh/actions/workflows/testing.yml)
[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/kilip/ansible-role-ssh?style=flat-square)](https://github.com/kilip/ansible-role-ssh/releases)
[![GitHub](https://img.shields.io/github/license/kilip/ansible-role-ssh?style=flat-square)](https://github.com/kilip/ansible-role-ssh/blob/main/LICENSE)Role Variables
--------------
Here's role variables with default values:
```yaml
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](https://itstoni.com).