when:elasticsearch.snapshot is defined and elasticsearch.snapshot.indices is defined
when:elasticsearch.snapshot is defined and elasticsearch.snapshot.indices is defined
when:(not excluded_roles or "elasticsearch" not in excluded_roles) and 'logserver' in groups and inventory_hostname in groups.logserver
when:elasticsearch_install and (not excluded_roles or "elasticsearch" not in excluded_roles) and 'logserver' in groups and inventory_hostname in groups.logserver