add support to use monitoring via ssh
This commit is contained in:
parent
a47c5fd378
commit
84d56caed2
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
||||||
---
|
---
|
||||||
sshuser: []
|
sshuser: {}
|
||||||
rootpath: ''
|
rootpath: ''
|
||||||
|
|
|
||||||
|
|
@ -59,6 +59,6 @@ MaxAuthTries 10
|
||||||
# add special rules for users defined in host variables
|
# add special rules for users defined in host variables
|
||||||
|
|
||||||
{% for i in sshuser %}
|
{% for i in sshuser %}
|
||||||
Match User {{ i['user'] }}
|
Match User {{ i }}
|
||||||
AuthorizedKeysFile {{ i['AuthorizedKeysFile'] }}
|
AuthorizedKeysFile {{ sshuser[i].AuthorizedKeysFile }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue