community / community.elastic / 1.1.2 / module / elastic_index_info Returns info about Elasticsearch indexes. | "added in version" 0.0.1 of community.elastic" Authors: Rhys Campbell (@rhysmeister)community.elastic.elastic_index_info (1.1.2) — module
Install with ansible-galaxy collection install community.elastic:==1.1.2
collections: - name: community.elastic version: 1.1.2
Returns info about Elasticsearch indexes.
- name: Get info for myindex community.elastic.elastic_index_info: name: myindex
name: description: - The index name to get information about. required: true type: str cafile: description: - Path to ca file type: str timeout: default: 30 description: - Response timeout in seconds. type: int login_port: default: 9200 description: - The Elastic server port to login to. required: false type: int login_user: description: - The Elastic user to login with. - Required when I(login_password) is specified. required: false type: str auth_method: choices: - '' - http_auth default: '' description: - Authentication Method. type: str auth_scheme: choices: - http - https default: http description: - Authentication scheme. type: str login_hosts: default: localhost description: - The Elastic hosts to connect to. elements: str required: false type: list login_password: description: - The password used to authenticate with. - Required when I(login_user) is specified. required: false type: str connection_options: default: [] description: - Additional connection options for Elasticsearch elements: dict type: list wait_for_active_shards: default: '0' description: - A number controlling to how many active shards to wait for. - all to wait for all shards in the cluster to be active, or 0 to not wait. type: str