Setup SSH on a remote machine
Find a file
Wilfried OLLIVIER cf1a50b841 Add licence
2019-01-31 15:27:11 +01:00
handlers Bootstrap ssh role 2019-01-31 15:12:04 +01:00
meta Bootstrap ssh role 2019-01-31 15:12:04 +01:00
tasks Bootstrap ssh role 2019-01-31 15:12:04 +01:00
templates Bootstrap ssh role 2019-01-31 15:12:04 +01:00
tests Bootstrap ssh role 2019-01-31 15:12:04 +01:00
vars Bootstrap ssh role 2019-01-31 15:12:04 +01:00
LICENCE Add licence 2019-01-31 15:27:11 +01:00
README.md Bootstrap ssh role 2019-01-31 15:12:04 +01:00

galaxy-ssh

Update ssh config

Requirements

None

Role Variables

  • sshd_port: port where sshd should listen

Dependencies

None

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: galaxy-ssh, sshd_port: 42 }

Run tests

Ensure galaxy-vagrant is up

ansible-playbook -i tests/inventory tests/test.yml