Change injector raw formatting (#146)

This commit is contained in:
Chris Edillon
2024-05-13 15:19:38 -04:00
committed by GitHub
parent e990f39c60
commit 4f0df3c8db

View File

@@ -4,6 +4,8 @@ user_message:
- Update Credential for Insights Inventory with Red Hat account.
- Add variables for system_roles. https://console.redhat.com/ansible/automation-hub/repo/published/redhat/rhel_system_roles
# "!unsafe" used to pass raw jinja2 through to the injector definition, see
# https://github.com/redhat-cop/controller_configuration/tree/devel/roles/credential_types#formating-injectors
controller_credential_types:
- name: Insights Collection
kind: cloud
@@ -18,8 +20,8 @@ controller_credential_types:
secret: true
injectors:
env:
INSIGHTS_USER: "{% raw %}{ { insights_user }}{% endraw %}"
INSIGHTS_PASSWORD: "{% raw %}{ { insights_password }}{% endraw %}"
INSIGHTS_USER: !unsafe '{{ insights_user }}'
INSIGHTS_PASSWORD: !unsafe '{{ insights_password }}'
controller_credentials:
- name: Insights Inventory