Skip to content

Commit

Permalink
fixed the issue redhat-cop#847 (redhat-cop#900)
Browse files Browse the repository at this point in the history
* fixed the issue

* Update galaxy.yml

Co-authored-by: Tom Page <[email protected]>

---------

Co-authored-by: Tom Page <[email protected]>
  • Loading branch information
ivarmu and Tompage1994 authored Sep 5, 2024
1 parent a58ee37 commit 031cfec
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: infra
name: controller_configuration
version: 2.7.1-devel
version: 2.9.0-devel
description: A collection of roles to manage Ansible Controller
readme: README.md
authors:
Expand Down
2 changes: 1 addition & 1 deletion roles/filetree_create/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ argument_specs:
type: int
description: Maximum number of objects to return from the list. If a list view returns more an max_objects an exception will be raised
omit_id:
default: None
default: false
required: false
type: bool
description: Whether to create output files without objects id.
Expand Down
2 changes: 1 addition & 1 deletion roles/filetree_create/templates/current_job_templates.j2
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ controller_templates:
survey_enabled: {{ current_job_templates_asset_value.survey_enabled | bool | lower }}
{% set survey_spec_contents = query(controller_api_plugin, current_job_templates_asset_value.related.survey_spec,
host=controller_hostname, oauth_token=controller_oauthtoken, verify_ssl=controller_validate_certs)[0] |
from_yaml | to_nice_yaml(indent=2,width=500) | regex_replace("\n\n[ ]*", "\\\\n") | indent(width=6, first=False) | replace("'{{", "!unsafe \'{{") | replace("^$", "") | replace("$encrypted$", "")
from_yaml | to_nice_yaml(indent=2,width=500) | regex_replace("\n\n[ ]*", "\\\\n") | indent(width=6, first=False) | replace("'{{", "!unsafe \'{{") | replace("^$", "") | replace("$encrypted$", "") | replace("'", '"')
-%}
{% if current_job_templates_asset_value.related.survey_spec is defined and survey_spec_contents | length > 3 %}
survey_spec:
Expand Down

0 comments on commit 031cfec

Please sign in to comment.