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

defined python 3 script path

parent a268cc55
No related branches found
No related tags found
No related merge requests found
...@@ -2,4 +2,4 @@ ...@@ -2,4 +2,4 @@
# defaults file for paas-ci # defaults file for paas-ci
paas_ci_orchestrator_url: https://paas.cloud.infn.it/orchestrator paas_ci_orchestrator_url: https://paas.cloud.infn.it/orchestrator
paas_ci_workdir: "{{ lookup('env','WORKSPACE') }}" paas_ci_workdir: "{{ lookup('env','WORKSPACE') }}"
python3_script_path: "python3 /home/gmp/.ansible/roles/paas-ci/utils/script.py"
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
var: endpoints_to_scan var: endpoints_to_scan
- name: Run scan - name: Run scan
command: python3 /home/gmp/script.py "{{ endpoints_to_scan }}" "{{ paas_ci_workdir + '/dep.json'}}" "{{ paas_ci_workdir }}" command: "{{ python3_script_path }}" "{{ endpoints_to_scan }}" "{{ paas_ci_workdir + '/dep.json'}}" "{{ paas_ci_workdir }}"
register: scan_output register: scan_output
#- name: display report #- name: display report
......
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