Manage Lease in ETCD Cluster.
Version added: 0.4.0
- Manage Lease in 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: create lease in etcd for 1000 seconds
community.missing_collection.etcd3_lease:
host: "localhost"
port: 2379
ttl: 1000
state: "present"
register: __
- name: revoke lease in etcd
community.missing_collection.etcd3_lease:
host: "localhost"
port: 2379
id: "{{ __.id }}"
state: "absent"
Common return values are documented here, the following are the fields unique to this module:
- Davinder Pal (@116davinder) <dpsangwal@gmail.com>