summaryrefslogtreecommitdiff
path: root/roles/sshserver
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-11-22 23:34:09 +0100
committerChristian Pointner <equinox@spreadspace.org>2017-11-22 23:34:09 +0100
commitddb43fb5860676f7e3292fdd65856572339ebce7 (patch)
tree68a1f2108c969cb9954d569adcc1029974cda89a /roles/sshserver
parentminor cleanup (diff)
added inital role vm-host
Diffstat (limited to 'roles/sshserver')
-rw-r--r--roles/sshserver/tasks/main.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/sshserver/tasks/main.yaml b/roles/sshserver/tasks/main.yaml
index 0c776816..52a36343 100644
--- a/roles/sshserver/tasks/main.yaml
+++ b/roles/sshserver/tasks/main.yaml
@@ -21,5 +21,5 @@
lineinfile:
dest: /etc/ssh/sshd_config
regexp: "^AllowUsers"
- line: "AllowUsers {{ ' '.join([ 'root', 'rhadmin' ] | union(sshserver_allowusers_group | default([])) | union(sshserver_allowusers_host | default([]))) }}"
+ line: "AllowUsers {{ ' '.join([ 'root' ] | union(sshserver_allowusers_group | default([])) | union(sshserver_allowusers_host | default([]))) }}"
notify: restart ssh