Skip to content

Commit 4f0df3c

Browse files
authored
Change injector raw formatting (#146)
1 parent e990f39 commit 4f0df3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

linux/setup.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ user_message:
44
- Update Credential for Insights Inventory with Red Hat account.
55
- Add variables for system_roles. https://console.redhat.com/ansible/automation-hub/repo/published/redhat/rhel_system_roles
66

7+
# "!unsafe" used to pass raw jinja2 through to the injector definition, see
8+
# https://github.com/redhat-cop/controller_configuration/tree/devel/roles/credential_types#formating-injectors
79
controller_credential_types:
810
- name: Insights Collection
911
kind: cloud
@@ -18,8 +20,8 @@ controller_credential_types:
1820
secret: true
1921
injectors:
2022
env:
21-
INSIGHTS_USER: "{% raw %}{ { insights_user }}{% endraw %}"
22-
INSIGHTS_PASSWORD: "{% raw %}{ { insights_password }}{% endraw %}"
23+
INSIGHTS_USER: !unsafe '{{ insights_user }}'
24+
INSIGHTS_PASSWORD: !unsafe '{{ insights_password }}'
2325

2426
controller_credentials:
2527
- name: Insights Inventory

0 commit comments

Comments
 (0)