ansible-roles/evocheck/tasks/exec.yml
David Prevot fc692cf65b
All checks were successful
gitea/ansible-roles/pipeline/head This commit looks good
Allow more --check runs
Use “when: not ansible_check_mode” or “when <file>.stat.exists or not
ansible_check_mode” in order to provide a meaningful diff if possible.

This is an improvement from the previously reverted commit
1728eaee68.
2022-12-21 18:05:41 +01:00

18 lines
331 B
YAML

---
- name: run evocheck
command: "{{ evocheck_bin_dir }}/evocheck.sh"
register: evocheck_run
changed_when: False
failed_when: False
check_mode: no
tags:
- evocheck-exec
- debug:
var: evocheck_run.stdout_lines
when:
- not ansible_check_mode
- evocheck_run.stdout | length > 0
tags:
- evocheck-exec