--- - name: activate-license include: ./handlers/shield/elasticsearch-xpack-activation.yml when: es_enable_xpack and es_xpack_license is defined and es_xpack_license != '' - name: load-native-realms include: ./handlers/shield/elasticsearch-shield-native.yml when: (es_users is defined and es_users.native is defined) or (es_roles is defined and es_roles.native is defined)