Setup SSH on a remote machine
Find a file
2019-07-25 20:35:13 +02: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 Add Buster to supported Debian platforms 2019-07-08 15:44:44 +02: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
LICENSE Move LICENSE file 2019-07-25 20:35:13 +02:00
README.md Harmonize README 2019-07-01 15:38:46 +02: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

Needs galaxy-vagrant to run tests

Ensure galaxy-vagrant is up

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