From 25ff5bf9f17fd6b24ec9d827cf66e91fc9107c67 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 23 Dec 2018 14:21:11 +0100 Subject: [PATCH] ansible-lint: fix base role --- ansible/roles/base/tasks/01ssh.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/base/tasks/01ssh.yml b/ansible/roles/base/tasks/01ssh.yml index 7e9eab5..c7d1215 100644 --- a/ansible/roles/base/tasks/01ssh.yml +++ b/ansible/roles/base/tasks/01ssh.yml @@ -1,5 +1,6 @@ --- -- set_fact: +- name: generate list of users allowed to login via ssh + set_fact: sshd_allowusers: >- {{ [ 'root' ] | union(user_groups.noc) | union(sshd_allowusers_group | default([])) -- 1.7.10.4