diff --git a/galaxy.yml b/galaxy.yml index 5916fcf7e..026fe51d1 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -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: diff --git a/roles/filetree_create/meta/argument_specs.yml b/roles/filetree_create/meta/argument_specs.yml index 6697952d2..3c911c3a2 100644 --- a/roles/filetree_create/meta/argument_specs.yml +++ b/roles/filetree_create/meta/argument_specs.yml @@ -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. diff --git a/roles/filetree_create/templates/current_job_templates.j2 b/roles/filetree_create/templates/current_job_templates.j2 index c446ff18e..3141492ae 100644 --- a/roles/filetree_create/templates/current_job_templates.j2 +++ b/roles/filetree_create/templates/current_job_templates.j2 @@ -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: