From 95efad1f5ee12e6f97d271a468eed5b603dd420c Mon Sep 17 00:00:00 2001 From: opuk Date: Fri, 22 Nov 2024 16:13:08 +0100 Subject: [PATCH] remove extra ')' character (#35) removing extra character from controller_job_templates.j2 that caused the export to fail --- roles/filetree_create/templates/controller_job_templates.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/filetree_create/templates/controller_job_templates.j2 b/roles/filetree_create/templates/controller_job_templates.j2 index cfe443a5..cab0af24 100644 --- a/roles/filetree_create/templates/controller_job_templates.j2 +++ b/roles/filetree_create/templates/controller_job_templates.j2 @@ -196,7 +196,7 @@ controller_templates: host=aap_hostname, oauth_token=aap_oauthtoken, verify_ssl=aap_validate_certs)[0]) | from_yaml | to_nice_yaml(indent=2,width=500,sort_keys=False) | regex_replace("\n\n[ ]*", "\\\\n") | indent(width=6, first=False) | regex_replace('(^[^:]*): (.*){([{%])', '\\g<1>: !unsafe \\g<2>{\\g<3>', multiline=True) - | replace("^$", "") | replace("$encrypted$", "\'\'")) + | replace("^$", "") | replace("$encrypted$", "\'\'") -%} {% if template_overrides_resources.job_template[current_job_templates_asset_value.name].survey_spec is defined or template_overrides_global.job_template.survey_spec is defined