From e5e3eb04f942169d061afd27a50df57bd6ae5de0 Mon Sep 17 00:00:00 2001 From: Matt Willsher Date: Tue, 12 Jan 2016 15:57:30 +0000 Subject: [PATCH] Update example so not to break old SSH versions and add a warning --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 05f1c87..01cebee 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,9 @@ None 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 --- - hosts: all @@ -128,7 +131,7 @@ Example Playbook Match: - Condition: "Group user" GSSAPIAuthentication: yes - sshd_UsePrivilegeSeparation: sandbox + sshd_UsePrivilegeSeparation: no sshd_match: - Condition: "Group xusers" X11Forwarding: yes @@ -142,7 +145,7 @@ Results in: # Ansible managed: ... Compression yes GSSAPIAuthentication no -UsePrivilegeSeparation sandbox +UsePrivilegeSeparation no Match Group user GSSAPIAuthentication yes Match Group xusers