We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd10ba commit 5a00b27Copy full SHA for 5a00b27
README.md
@@ -4,3 +4,33 @@ ansible-module-etcd
4
Ansible module for operating on etcd keys
5
6
**TODO:** add tests
7
+
8
+Example playbook usage:
9
10
+```yaml
11
+---
12
+- hosts: '{{ server }}'
13
+ tasks:
14
+ - name: set value in etcd
15
+ etcd:
16
+ state: present
17
+ host: my-etcd-host.example.com
18
+ port: 4001
19
+ key: /asdf/foo/bar/baz/gorp
20
+ value: my-foo-bar-baz-gor-server.prod.example.com
21
+ delegate_to: localhost
22
+ connection: local
23
+ sudo: false
24
25
+ - name: get value from etcd
26
27
+ state: retrieved
28
29
30
31
+ register: foo
32
33
34
35
+ register: result # use result.value
36
+```
0 commit comments