diff --git a/tasks/setup-Debian.yml b/tasks/setup-Debian.yml index 0535744..af7bb5d 100644 --- a/tasks/setup-Debian.yml +++ b/tasks/setup-Debian.yml @@ -20,7 +20,7 @@ - name: Update apt cache if repository just added. apt: update_cache=yes - when: logstash_installed.stat.exists == false + when: not logstash_installed.stat.exists - name: Install Logstash. apt: