summaryrefslogtreecommitdiff
path: root/roles/core
diff options
context:
space:
mode:
Diffstat (limited to 'roles/core')
-rw-r--r--roles/core/sshd/tasks/main.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/core/sshd/tasks/main.yml b/roles/core/sshd/tasks/main.yml
index 5eb15081..24476f75 100644
--- a/roles/core/sshd/tasks/main.yml
+++ b/roles/core/sshd/tasks/main.yml
@@ -31,7 +31,7 @@
lineinfile:
dest: /etc/ssh/sshd_config
regexp: "^AllowUsers\\s"
- line: "AllowUsers {{ ' '.join([ 'root' ] | union(ssh_allowusers_group | default([])) | union(ssh_allowusers_host | default([]))) }}"
+ line: "AllowUsers {{ ' '.join([ 'root' ] | union(ssh_allowusers_group) | union(ssh_allowusers_host)) }}"
notify: restart ssh
- name: allow any user