diff --git a/roles/httpd/tasks/enable.yml b/roles/httpd/tasks/enable.yml index 5bb9733a3..394629f04 100644 --- a/roles/httpd/tasks/enable.yml +++ b/roles/httpd/tasks/enable.yml @@ -46,7 +46,7 @@ src: "/etc/{{ apache_config_dir }}/osm.conf" path: /etc/apache2/sites-enabled/osm.conf state: link - when: is_debuntu | bool and osm_vector_maps_enabled | bool + when: is_debuntu and osm_vector_maps_enabled - name: Give {{ apache_user }} (per variable apache_user) permission to poweroff, installing /etc/sudoers.d/020_apache_poweroff from template template: