Setup SSH on a remote machine
| defaults | ||
| handlers | ||
| meta | ||
| tasks | ||
| templates | ||
| tests | ||
| LICENSE | ||
| README.md | ||
galaxy-ssh
Update ssh config
Requirements
None
Role Variables
- sshd_port: port where sshd should listen
Dependencies
None
Example Playbook
- hosts: servers
roles:
- { role: galaxy-ssh, sshd_port: 42 }
Run tests
Needs galaxy-vagrant to run tests
Ensure galaxy-vagrant is up
ansible-playbook -i tests/inventory tests/test.yml