Hi, playing a bit with consul, quickly realized i needed a new port for the python-consul client, needed for ansible consul modules, mostly https://docs.ansible.com/ansible/latest/modules/consul_kv_module.html and https://docs.ansible.com/ansible/latest/modules/consul_module.html
- works fine here in basic testing: $ansible c64 -i inventory -m consul_kv -a 'key=test value=value' c64 | CHANGED => { "changed": true, "data": { "CreateIndex": 471, "Flags": 0, "Key": "test", "LockIndex": 0, "ModifyIndex": 471, "Value": "value" }, "index": "471", "key": "test" } $ansible c64 -i inventory -m consul_kv -a 'key=test state=absent' c64 | CHANGED => { "changed": true, "data": { "CreateIndex": 471, "Flags": 0, "Key": "test", "LockIndex": 0, "ModifyIndex": 471, "Value": "value" }, "index": "471", "key": "test" } $ansible c64 -i inventory -m consul_kv -a 'key=test' c64 | SUCCESS => { "changed": false, "data": null, "index": "479" } ok to import under sysutils/ ? Landry
py-consul-1.1.0.tgz
Description: application/tar-gz