Setup SSH on a remote machine
Find a file
2019-02-09 13:29:33 +01:00
defaults Move vars to defaults 2019-02-09 13:29:33 +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 Fix: typo in name 2019-02-09 13:25:15 +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
LICENCE Add licence 2019-01-31 15:27:11 +01:00
README.md Fix: harmonize readme 2019-02-01 18:43:05 +01:00

galaxy-ssh

Update ssh config

Requirements

Needs galaxy-vagrant to run tests

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