evolinux-todo: don't echo "nothing…" when verbosity=0

This commit is contained in:
Jérémy Lecour 2018-08-24 18:22:18 +02:00 committed by Jérémy Lecour
parent 673d5a68c5
commit 3f67398371
1 changed files with 2 additions and 5 deletions

View File

@ -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 == ""