mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
Example of usage in znode documentation #20816
This commit is contained in:
parent
7156ad7153
commit
bc432b4001
1 changed files with 8 additions and 0 deletions
|
@ -100,6 +100,14 @@ EXAMPLES = """
|
||||||
hosts: 'localhost:2181'
|
hosts: 'localhost:2181'
|
||||||
name: /mypath
|
name: /mypath
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
|
# Creating or updating a znode with a given value on a remote Zookeeper
|
||||||
|
- znode:
|
||||||
|
hosts: 'my-zookeeper-node:2181'
|
||||||
|
name: /mypath
|
||||||
|
value: myvalue
|
||||||
|
state: present
|
||||||
|
delegate_to: 127.0.0.1
|
||||||
"""
|
"""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue