when:groups.webserver_nextcloud is defined and inventory_hostname in groups.webserver_nextcloud and not excluded_roles or "nextcloud" not in excluded_roles
when:groups.webserver_nextcloud is defined and inventory_hostname in groups.webserver_nextcloud and (not excluded_roles or "nextcloud" not in excluded_roles)