wireguard, stash, docker debian, jellyfin
This commit is contained in:
@@ -17,5 +17,6 @@
|
||||
key: "{{ lookup('file', '/home/' + item + '/.ssh/id_rsa.pub')}}"
|
||||
when:
|
||||
- users is defined
|
||||
- lookup('first_found', '/home/' + item + '/.ssh/id_rsa.pub', errors='ignore')
|
||||
- lookup('first_found', dict(files=['/home/' + item + '/.ssh/id_rsa.pub'], skip=true)) | length > 0
|
||||
#- lookup('first_found', '/home/' + item + '/.ssh/id_rsa.pub', errors='ignore')
|
||||
loop: "{{ users }}"
|
||||
|
||||
Reference in New Issue
Block a user