Skip to content

Ansible: Allows to specify a fallback port for SSH

Notifications You must be signed in to change notification settings

RiotKit/ansible-ssh-fallback-port-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

SSH Fallback Port

Allows to define a fallback SSH port, in case our playbook is for example reconfiguring the SSH server.

ansible-galaxy install blackandred.server_ssh_fallback_port

Example usage:

- hosts: all
  gather_facts: no
  remote_user: root
  roles:
      - name: blackandred.server_ssh_fallback_port
        vars:
            fallback_ssh_port: "6420"