xoxys.renovate_bot/templates/etc/sysconfig/renovate.j2

23 lines
844 B
Plaintext
Raw Permalink Normal View History

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 %}
2020-10-17 09:44:18 +00:00
RENOVATE_REPOSITORIES={{ renovatebot_repositories | join(",") }}
2020-10-11 20:16:17 +00:00
{% endif %}
2020-10-17 09:44:18 +00:00
RENOVATE_ONBOARDING_CONFIG={{ renovatebot_onboarding_config | to_json }}
RENOVATE_HOST_RULES={{ renovatebot_host_rules | to_json }}