when:(not excluded_roles or "apache" not in excluded_roles) and role_apache_completed is not defined
when:(not excluded_roles or "apache" not in excluded_roles) and role_apache_completed is not defined and groups and 'webserver' in groups and inventory_hostname in groups.webserver