forked from evolix/ansible-roles
evolinux-todo: don't echo "nothing…" when verbosity=0
This commit is contained in:
parent
673d5a68c5
commit
3f67398371
|
@ -7,10 +7,7 @@
|
|||
failed_when: False
|
||||
check_mode: no
|
||||
|
||||
- debug:
|
||||
- name: "Content of /etc/evolinux/todo.txt"
|
||||
debug:
|
||||
var: evolinux_todo.stdout_lines
|
||||
when: evolinux_todo.stdout != ""
|
||||
|
||||
- debug:
|
||||
msg: "There is nothing to do !"
|
||||
when: evolinux_todo.stdout == ""
|
||||
|
|
Loading…
Reference in a new issue