forked from evolix/ansible-roles
evomaintenance: make hooks configurable
This commit is contained in:
parent
8314053506
commit
a643c96cca
3 changed files with 11 additions and 0 deletions
|
@ -13,6 +13,7 @@ The **patch** part changes incrementally at each release.
|
|||
### Added
|
||||
* apache: add server status suffix in VHost (and default site) if missing
|
||||
* apt: add a script to manage packages with "hold" mark
|
||||
* evomaintenance: make hooks configurable
|
||||
* nginx: add server status suffix in VHost (and default site) if missing
|
||||
* redmine: enable gzip compression in nginx vhost
|
||||
|
||||
|
|
|
@ -34,6 +34,11 @@ evomaintenance_realm: "{{ evolinux_internal_domain }}"
|
|||
evomaintenance_api_endpoint: Null
|
||||
evomaintenance_api_key: Null
|
||||
|
||||
evomaintenance_hook_api: False
|
||||
evomaintenance_hook_db: True
|
||||
evomaintenance_hook_commit: True
|
||||
evomaintenance_hook_mail: True
|
||||
|
||||
evomaintenance_default_hosts: []
|
||||
evomaintenance_additional_hosts: []
|
||||
evomaintenance_hosts: "{{ evomaintenance_default_hosts | union(evomaintenance_additional_hosts) | unique }}"
|
||||
|
|
|
@ -13,3 +13,8 @@ URGENCYTEL="{{ evomaintenance_urgency_tel }}"
|
|||
REALM="{{ evomaintenance_realm }}"
|
||||
API_ENDPOINT={{ evomaintenance_api_endpoint }}
|
||||
API_KEY={{ evomaintenance_api_key }}
|
||||
|
||||
HOOK_API={{ evomaintenance_hook_api | bool | ternary('1','0') }}
|
||||
HOOK_DB={{ evomaintenance_hook_db | bool | ternary('1','0') }}
|
||||
HOOK_COMMIT={{ evomaintenance_hook_commit | bool | ternary('1','0') }}
|
||||
HOOK_MAIL={{ evomaintenance_hook_mail | bool | ternary('1','0') }}
|
||||
|
|
Loading…
Add table
Reference in a new issue