homeassistant: rework update check
This commit is contained in:
parent
df303b3487
commit
52983a51a9
3 changed files with 64 additions and 18 deletions
|
@ -20,6 +20,14 @@ files = {
|
|||
'svc_systemd:homeassistant:restart',
|
||||
},
|
||||
},
|
||||
'/usr/local/share/icinga/plugins/check_homeassistant_update': {
|
||||
'content_type': 'mako',
|
||||
'context': {
|
||||
'bearer': repo.vault.decrypt(node.metadata.get('homeassistant/api_secret')),
|
||||
'domain': node.metadata.get('homeassistant/domain'),
|
||||
},
|
||||
'mode': '0755',
|
||||
},
|
||||
}
|
||||
|
||||
actions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue