From: Christian Pointner Date: Sun, 23 Dec 2018 13:21:11 +0000 (+0100) Subject: ansible-lint: fix base role X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=25ff5bf9f17fd6b24ec9d827cf66e91fc9107c67;p=noc.git ansible-lint: fix base role --- 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([]))