diff --git a/ansible/roles/vitrage/tasks/precheck.yml b/ansible/roles/vitrage/tasks/precheck.yml index f1d508768c..953880ff56 100644 --- a/ansible/roles/vitrage/tasks/precheck.yml +++ b/ansible/roles/vitrage/tasks/precheck.yml @@ -17,7 +17,7 @@ - inventory_hostname in groups['vitrage-api'] - name: Checking custom prometheus_conf.yaml exists - local_action: stat_path="{{ node_custom_config }}/vitrage/prometheus_conf.yaml" + local_action: stat path="{{ node_custom_config }}/vitrage/prometheus_conf.yaml" register: result run_once: true failed_when: not result.stat.exists