change check

This commit is contained in:
Antonio J. Delgado 2023-09-18 19:35:53 +03:00
parent 55169826ab
commit 500f2192b3

View file

@ -20,7 +20,9 @@
- name: Set command for opendkim-genkey (using where)
set_fact:
opendkim_genkey_cmd: "{{ where_result.stdout }}"
when: where_result.stdout != ''
when:
- stdout in where_result
- where_result.stdout != ''
- name: Fail if opendkim-genkey is not found
fail: