Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed the issue #847 #900

Merged
merged 2 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading