diff --git a/roles/sugarizer/tasks/main.yml b/roles/sugarizer/tasks/main.yml index 866433d85..949d3e20a 100644 --- a/roles/sugarizer/tasks/main.yml +++ b/roles/sugarizer/tasks/main.yml @@ -4,4 +4,4 @@ - name: Enable 'sugarizer' if sugarizer_enabled include_tasks: enable.yml - when: sugarizer_install | bool or sugarizer_installed is defined and not ((is_debian and not is_raspbian) and (not is_debian_8) and (not is_debian_9)) + when: (sugarizer_install | bool or sugarizer_installed is defined) and not ((is_debian and not is_raspbian) and (not is_debian_8) and (not is_debian_9))