sivel.ansible_openssh
ansible-openssh
This ansible role installs and configures openssh
Caveats
- Currently this is limited to configuring
sshd_config, but will eventually be extended tossh_configas well. - Not all possible configuration values are provided in
defaults/main.ymlas there are so many differences between operating systems and openssh versions sshd_configoptions are prefixed withopensshd_,ssh_configoptions will be prefixed withopenssh_
Requirements
This role requires Ansible 1.4 higher and platforms listed in the metadata file.
Examples
Paramaterized Role
---
- hosts: all
roles:
- role: openssh
opensshd_PermitRootLogin: "no"
Vars
---
- hosts: all
vars:
opensshd_PermitRootLogin: "no"
roles:
- openssh
Group vars
group_vars/production
---
opensshd_PermitRootLogin: "no"
site.yml
---
- hosts: all
roles:
- openssh
Install
ansible-galaxy install sivel.ansible_opensshLicense
apache-2.0
Downloads
72
Owner
Ansible Core Engineering Architect and Technical Team Lead
