add support to use monitoring via ssh

This commit is contained in:
nd 2018-11-13 00:12:30 +01:00
parent a47c5fd378
commit 84d56caed2
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 3 additions and 3 deletions

View file

@ -1,3 +1,3 @@
---
sshuser: []
sshuser: {}
rootpath: ''

View file

@ -59,6 +59,6 @@ MaxAuthTries 10
# add special rules for users defined in host variables
{% for i in sshuser %}
Match User {{ i['user'] }}
AuthorizedKeysFile {{ i['AuthorizedKeysFile'] }}
Match User {{ i }}
AuthorizedKeysFile {{ sshuser[i].AuthorizedKeysFile }}
{% endfor %}