Skip to content
Snippets Groups Projects
Commit f44660c0 authored by qweqweasdasd's avatar qweqweasdasd
Browse files

Fix python command line

parent 72d1db09
No related branches found
No related tags found
No related merge requests found
......@@ -77,9 +77,7 @@
- "{{ paas_ci_workdir + '/report.txt' }}"
- name: get Severity file content
ansible.builtin.debug: var=item
with_file:
- "{{ paas_ci_workdir + '/severity.txt'}}"
shell: cat "{{ paas_ci_workdir + '/severity.json'}}"
register: severity
- name: import severity
......
......@@ -411,7 +411,7 @@ for host,ports in endpoints.items():
task_name = f"{auth_name}_task_{host}"
port_list_name = f"{auth_name}_pl_{host}"
report_filename = f"{output_dir}/report.txt"
severity_filename = f"{output_dir}/severity.txt"
severity_filename = f"{output_dir}/severity.json"
pl = get_or_create_port_list(port_list_name,ports)
print_pretty_json(pl)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment