1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/sugarizer/tasks/main.yml
Jerry Vonau f7bc1e4b67
remove | bool
Co-Authored-By: A Holt <holta@users.noreply.github.com>
2019-11-28 07:24:17 -06:00

7 lines
480 B
YAML

- name: Install 'sugarizer' if sugarizer_install and not Debian 10+
include_tasks: install.yml
when: not sugarizer_installed is defined and sugarizer_install | bool and not ((is_debian and not is_raspbian) and (not is_debian_8) and (not is_debian_9))
- name: Enable 'sugarizer' if sugarizer_enabled
include_tasks: enable.yml
when: (sugarizer_install or sugarizer_installed is defined) and not ((is_debian and not is_raspbian) and (not is_debian_8) and (not is_debian_9))