2020-10-10 08:03:50 +00:00
|
|
|
#jinja2:lstrip_blocks: True
|
|
|
|
{{ ansible_managed | comment }}
|
|
|
|
|
2020-10-10 12:15:24 +00:00
|
|
|
{% if renovatebot_github_token is defined %}
|
2020-10-10 13:01:49 +00:00
|
|
|
GITHUB_COM_TOKEN={{ renovatebot_github_token }}
|
2020-10-11 20:16:17 +00:00
|
|
|
|
2020-10-10 12:03:07 +00:00
|
|
|
{% endif %}
|
2020-10-10 13:01:49 +00:00
|
|
|
RENOVATE_ENDPOINT={{ renovatebot_endpoint }}
|
|
|
|
RENOVATE_GIT_AUTHOR={{ renovatebot_git_author }}
|
|
|
|
RENOVATE_PLATFORM={{ renovatebot_platform }}
|
|
|
|
RENOVATE_TOKEN={{ renovatebot_token }}
|
2020-10-11 20:16:17 +00:00
|
|
|
|
|
|
|
RENOVATE_AUTODISCOVER={{ renovatebot_autodiscover | bool | lower }}
|
|
|
|
{% if renovatebot_autodiscover | bool %}
|
|
|
|
{% if renovatebot_autodiscover_filter is defined %}
|
|
|
|
RENOVATE_AUTODISCOVER_FILTER={{ renovatebot_autodiscover_filter }}
|
|
|
|
{% endif %}
|
|
|
|
{% elif renovatebot_repositories | length > 0 %}
|
|
|
|
RENOVATE_REPOSITORIES={{ renovatebot_repositories | to_json }}
|
|
|
|
{% endif %}
|