diff --git a/defaults/main.yml b/defaults/main.yml index 5e3f051..e6f1bf0 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -31,3 +31,13 @@ renovatebot_platform: github renovatebot_onboarding_config: extends: - "config:base" + +# @var renovatebot_host_rules:description: List of host rules to propagate to renovate. +# @var renovatebot_host_rules:example: > +# renovatebot_host_rules: +# - hostType: "docker" +# hostName: "your.host.io" +# username: "demo" +# password: "secure" +# @end +renovatebot_host_rules: [] diff --git a/templates/etc/sysconfig/renovate.j2 b/templates/etc/sysconfig/renovate.j2 index 8413141..492f309 100644 --- a/templates/etc/sysconfig/renovate.j2 +++ b/templates/etc/sysconfig/renovate.j2 @@ -19,3 +19,4 @@ RENOVATE_AUTODISCOVER_FILTER={{ renovatebot_autodiscover_filter }} RENOVATE_REPOSITORIES={{ renovatebot_repositories | join(",") }} {% endif %} RENOVATE_ONBOARDING_CONFIG={{ renovatebot_onboarding_config | to_json }} +RENOVATE_HOST_RULES={{ renovatebot_host_rules | to_json }}