Setup SSH on a remote machine
Go to file
2020-04-03 11:35:43 +02:00
defaults Fix: Harmonize files by adding new line if nedded 2020-04-03 11:35:43 +02: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: Harmonize files by adding new line if nedded 2020-04-03 11:35:43 +02:00
templates Bootstrap ssh role 2019-01-31 15:12:04 +01:00
tests Fix: Harmonize files by adding new line if nedded 2020-04-03 11:35:43 +02: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