|
|
@ -27,20 +27,21 @@ DOCUMENTATION:
|
|
|
|
_raw:
|
|
|
|
_raw:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- the list of keys to lookup on the etcd server
|
|
|
|
- the list of keys to lookup on the etcd server
|
|
|
|
type: string
|
|
|
|
type: list
|
|
|
|
|
|
|
|
element_type: string
|
|
|
|
required: True
|
|
|
|
required: True
|
|
|
|
_etcd_url:
|
|
|
|
_etcd_url:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Environment variable with the url for the etcd server
|
|
|
|
- Environment variable with the url for the etcd server
|
|
|
|
default: 'http://127.0.0.1:4001'
|
|
|
|
default: 'http://127.0.0.1:4001'
|
|
|
|
env_vars:
|
|
|
|
env_vars:
|
|
|
|
- ANSIBLE_ETCD_URL
|
|
|
|
- name: ANSIBLE_ETCD_URL
|
|
|
|
_etcd_version:
|
|
|
|
_etcd_version:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Environment variable with the etcd protocol version
|
|
|
|
- Environment variable with the etcd protocol version
|
|
|
|
default: 'v1'
|
|
|
|
default: 'v1'
|
|
|
|
env_vars:
|
|
|
|
env_vars:
|
|
|
|
- ANSIBLE_ETCD_VERSION
|
|
|
|
- name: ANSIBLE_ETCD_VERSION
|
|
|
|
EXAMPLES:
|
|
|
|
EXAMPLES:
|
|
|
|
- name: "a value from a locally running etcd"
|
|
|
|
- name: "a value from a locally running etcd"
|
|
|
|
debug: msg={{ lookup('etcd', 'foo') }}
|
|
|
|
debug: msg={{ lookup('etcd', 'foo') }}
|
|
|
|