diff --git a/.cache/roles/do1jlr.sshd b/.cache/roles/do1jlr.sshd deleted file mode 120000 index c25bddb..0000000 --- a/.cache/roles/do1jlr.sshd +++ /dev/null @@ -1 +0,0 @@ -../.. \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..16d3c4d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.cache diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000..c8bbc93 --- /dev/null +++ b/.yamllint @@ -0,0 +1,8 @@ +--- +extends: default + +rules: + # 160 chars should be enough, but don't fail if a line is longer + line-length: + max: 160 + level: warning diff --git a/tasks/main.yml b/tasks/main.yml index ae79b2a..06f0f5e 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -11,7 +11,7 @@ - name: Collect all users and groups allowed to login via ssh set_fact: - sshd__allowed_users: '{{ sshd__allowed_users + users.keys() | default({}) | sort }}' + sshd__allowed_users: '{{ sshd__allowed_users + users.keys() | default({}) | sort }}' sshd__allowed_groups: '{{ sshd__allowed_groups + users.keys() | default({}) | sort }}' - name: "try to get {{ sshd__package }} version"