Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sivel/ansible-openssh
Ansible role to install and configure openssh
https://github.com/sivel/ansible-openssh
Last synced: 19 days ago
JSON representation
Ansible role to install and configure openssh
- Host: GitHub
- URL: https://github.com/sivel/ansible-openssh
- Owner: sivel
- License: apache-2.0
- Created: 2013-12-30T18:33:08.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-01-27T14:50:24.000Z (almost 7 years ago)
- Last Synced: 2024-10-04T23:41:44.834Z (about 1 month ago)
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-openssh
This ansible role installs and configures openssh
# Caveats
1. Currently this is limited to configuring `sshd_config`, but will eventually be extended to `ssh_config` as well.
1. Not all possible configuration values are provided in `defaults/main.yml` as there are so many differences between operating systems and openssh versions
1. `sshd_config` options are prefixed with `opensshd_`, `ssh_config` options will be prefixed with `openssh_`## 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