xoxys.renovate_bot/templates/etc/sysconfig/renovate.j2
Robert Kaussow 7620435ad3
All checks were successful
continuous-integration/drone/push Build is passing
add options to mamage repos
2020-10-11 22:16:17 +02:00

21 lines
710 B
Django/Jinja

#jinja2:lstrip_blocks: True
{{ ansible_managed | comment }}
{% if renovatebot_github_token is defined %}
GITHUB_COM_TOKEN={{ renovatebot_github_token }}
{% endif %}
RENOVATE_ENDPOINT={{ renovatebot_endpoint }}
RENOVATE_GIT_AUTHOR={{ renovatebot_git_author }}
RENOVATE_PLATFORM={{ renovatebot_platform }}
RENOVATE_TOKEN={{ renovatebot_token }}
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 %}