Merge pull request #33 from willshersystems/example_fix

Update example so not to break old SSH versions and add a warning
This commit is contained in:
Matt Willsher 2016-01-12 16:11:57 +00:00
commit e48ffc4e28

View file

@ -114,6 +114,9 @@ None
Example Playbook Example Playbook
---------------- ----------------
**DANGER!** This example is to show the range of configuration this role
provides. Running it will likely break your SSH access to the server!
```yaml ```yaml
--- ---
- hosts: all - hosts: all
@ -128,7 +131,7 @@ Example Playbook
Match: Match:
- Condition: "Group user" - Condition: "Group user"
GSSAPIAuthentication: yes GSSAPIAuthentication: yes
sshd_UsePrivilegeSeparation: sandbox sshd_UsePrivilegeSeparation: no
sshd_match: sshd_match:
- Condition: "Group xusers" - Condition: "Group xusers"
X11Forwarding: yes X11Forwarding: yes
@ -142,7 +145,7 @@ Results in:
# Ansible managed: ... # Ansible managed: ...
Compression yes Compression yes
GSSAPIAuthentication no GSSAPIAuthentication no
UsePrivilegeSeparation sandbox UsePrivilegeSeparation no
Match Group user Match Group user
GSSAPIAuthentication yes GSSAPIAuthentication yes
Match Group xusers Match Group xusers