Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdauphant/ansible-role-ssh-config
Generate a ~/.ssh/config with your inventory
https://github.com/jdauphant/ansible-role-ssh-config
Last synced: 24 days ago
JSON representation
Generate a ~/.ssh/config with your inventory
- Host: GitHub
- URL: https://github.com/jdauphant/ansible-role-ssh-config
- Owner: jdauphant
- License: bsd-2-clause
- Created: 2014-01-30T15:14:29.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-11T16:18:18.000Z (over 6 years ago)
- Last Synced: 2023-03-14T16:10:31.640Z (almost 2 years ago)
- Homepage:
- Size: 13.7 KB
- Stars: 22
- Watchers: 3
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ansible-role-ssh_config
===========================Generate a ~/.ssh/config with your inventory (keep your old .ssh/config in backup)
Available on Ansible Galaxy : https://galaxy.ansible.com/jdauphant/ssh-config/
# Playbook example :
```
---
- hosts: all
sudo: no
gather_facts: yes- hosts: localhost
connection: local
sudo: false
roles:
- jdauphant.ssh-config
```
# Notes
- You need to gather_facts of your hosts before the run the role in local
- You old .ssh/config is keep in backup and integrated to the new .ssh/config