https://github.com/savoirfairelinux/ansible-ssh-access
Facilitates SSH access from one remote to other(s)
https://github.com/savoirfairelinux/ansible-ssh-access
Last synced: 4 months ago
JSON representation
Facilitates SSH access from one remote to other(s)
- Host: GitHub
- URL: https://github.com/savoirfairelinux/ansible-ssh-access
- Owner: savoirfairelinux
- License: gpl-3.0
- Created: 2016-05-03T20:00:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-27T19:32:06.000Z (almost 2 years ago)
- Last Synced: 2024-12-26T18:23:15.283Z (5 months ago)
- Size: 21.5 KB
- Stars: 3
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# ssh-access
Facilitates SSH access from one remote to other(s). This role first creates a private key on a
remote hosts, and then propagates that key's public key to specified hosts (must be in the
inventory) `authorized_keys`.## Requirements
* Ansible 2.0+
## Example invocation
```
- role: ssh-access
ssh_access_username: myuser
ssh_access_targets:
- host: host1
username: user1
- host: host2
username: user2
```