diff --git a/devfile.yaml b/devfile.yaml index ceaaac9..e1d9e72 100644 --- a/devfile.yaml +++ b/devfile.yaml @@ -1,3 +1,4 @@ +--- schemaVersion: 2.3.0 metadata: name: ansible-snow-development @@ -11,5 +12,5 @@ components: cpuLimit: 2000m env: - name: VSCODE_DEFAULT_WORKSPACE - value: "/" + value: / name: ansible diff --git a/roles/servicenow_ritm_retrieve_eda/tasks/main.yml b/roles/servicenow_ritm_retrieve_eda/tasks/main.yml index 455a860..53a15c9 100644 --- a/roles/servicenow_ritm_retrieve_eda/tasks/main.yml +++ b/roles/servicenow_ritm_retrieve_eda/tasks/main.yml @@ -1,5 +1,4 @@ --- - - name: Retrieve RITM details with retries servicenow.itsm.api_info: resource: sc_req_item @@ -41,7 +40,7 @@ - name: Retrieve variable details in one query servicenow.itsm.api_info: resource: sc_item_option - sysparm_query: "sys_idIN{{ variable_mappings.record | map(attribute='sc_item_option.value') | join(',') }}" + sysparm_query: sys_idIN{{ variable_mappings.record | map(attribute='sc_item_option.value') | join(',') }} columns: [item_option_new, value, sys_id] register: variable_details when: variable_mappings.record | length > 0 @@ -49,7 +48,7 @@ - name: Retrieve variable names using item_option_new IDs servicenow.itsm.api_info: resource: item_option_new - sysparm_query: "sys_idIN{{ variable_details.record | map(attribute='item_option_new.value') | join(',') }}" + sysparm_query: sys_idIN{{ variable_details.record | map(attribute='item_option_new.value') | join(',') }} columns: [sys_id, name] register: variable_names when: variable_details.record | length > 0