mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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'
|
||||
name: /mypath
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue