ansible/ansible — pull request #4664 by jpmens (2013-10-24 09:01:08+00:00)
Title: Lookup plugin for etcd

This is a new lookup plugin for CoreOS' [etcd](https://github.com/coreos/etcd).

Example playbook (including deprecated `$ETCD()` invocation):

```yaml

- hosts: localhost
gather_facts: false
vars:
- myname: "{{ lookup('etcd', 'name') }}"
- mynum: "{{ $ETCD(nr) }}"

tasks:
- action: debug msg="the value of name is {{ myname }} (and {{mynum}})"
```