mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
create yamllint
This commit is contained in:
parent
d09093a3fd
commit
3d4540fc62
4 changed files with 10 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
../..
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
.cache
|
8
.yamllint
Normal file
8
.yamllint
Normal file
|
@ -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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue