change check
This commit is contained in:
parent
55169826ab
commit
500f2192b3
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue