xoxys.renovate_bot/templates/etc/sysconfig/renovate.j2
Robert Kaussow 20cff9d0f4
All checks were successful
continuous-integration/drone/push Build is passing
feat: add new option renovatebot_host_rules
2021-07-31 23:30:34 +02:00

23 lines
844 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 | join(",") }}
{% endif %}
RENOVATE_ONBOARDING_CONFIG={{ renovatebot_onboarding_config | to_json }}
RENOVATE_HOST_RULES={{ renovatebot_host_rules | to_json }}