diff --git a/tasks/main.yml b/tasks/main.yml index b94a4b3..96b6dd2 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -10,7 +10,7 @@ ansible.builtin.include_tasks: packages.yml - name: Collect all users and groups allowed to login via ssh - set_fact: + ansible.builtin.set_fact: sshd__allowed_users: '{{ sshd__allowed_users + users.keys() | default({}) | sort }}' sshd__allowed_groups: '{{ sshd__allowed_groups + users.keys() | default({}) | sort }}' diff --git a/vars/main.yml b/vars/main.yml index b490095..ad8d25b 100644 --- a/vars/main.yml +++ b/vars/main.yml @@ -1,5 +1,5 @@ --- -playbook_version_number: 4125 # should be int +playbook_version_number: 5000 # should be int playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version' sshd__service_var_path: