Get Information from ETCD Cluster.
Version added: 0.4.0
- Get Information from ETCD Cluster.
- https://python-etcd3.readthedocs.io/en/latest/usage.html
The below requirements are needed on the host that executes this module.
- etcd3
- name: get value of key
community.missing_collection.etcd3_info:
host: "localhost"
port: 2379
get_value: true
key: '/Test'
- name: get status of current etcd node
community.missing_collection.etcd3_info:
host: "localhost"
port: 2379
get_status: true
- name: get lease status of given id
community.missing_collection.etcd3_info:
host: "localhost"
port: 2379
get_lease_status: true
id: "7587857742833949726"
Common return values are documented here, the following are the fields unique to this module:
- Davinder Pal (@116davinder) <dpsangwal@gmail.com>