fix missing vars error
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Robert Kaussow 2020-10-10 14:15:24 +02:00
parent 62e7a952c1
commit 92d5c9d8ed
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
2 changed files with 4 additions and 1 deletions

View File

@ -15,4 +15,5 @@ renovatebot_autodiscover: False
renovatebot_endpoint: "https://github.company.com/api/v3"
renovatebot_git_author: "Renovate Bot <bot@renovateapp.com>"
renovatebot_platform: github
renovatebot_token:
# @var renovatebot_token:description: Personal access token for your bot account.
# renovatebot_token: $ "_unset_"

View File

@ -1,7 +1,9 @@
#jinja2:lstrip_blocks: True
{{ ansible_managed | comment }}
{% if renovatebot_github_token is defined %}
GITHUB_COM_TOKEN="{{ renovatebot_github_token }}"
{% endif %}
RENOVATE_AUTODISCOVER="{{ renovatebot_autodiscover | bool | lower }}"
RENOVATE_ENDPOINT="{{ renovatebot_endpoint }}"
RENOVATE_GIT_AUTHOR="{{ renovatebot_git_author }}"