Setup SSH on a remote machine
Go to file
Wilfried OLLIVIER 1d8a2f42fc Bootstrap ssh role 2019-01-31 15:12:04 +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
README.md Bootstrap ssh role 2019-01-31 15:12:04 +01:00

README.md

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