mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 15:29:10 -07:00
Fix examples formatting (#345)
This commit is contained in:
parent
31ba39cac4
commit
a7c830f49d
148 changed files with 330 additions and 334 deletions
|
@ -97,27 +97,27 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: register basic session with consul
|
||||
- name: Register basic session with consul
|
||||
consul_session:
|
||||
name: session1
|
||||
|
||||
- name: register a session with an existing check
|
||||
- name: Register a session with an existing check
|
||||
consul_session:
|
||||
name: session_with_check
|
||||
checks:
|
||||
- existing_check_name
|
||||
|
||||
- name: register a session with lock_delay
|
||||
- name: Register a session with lock_delay
|
||||
consul_session:
|
||||
name: session_with_delay
|
||||
delay: 20s
|
||||
|
||||
- name: retrieve info about session by id
|
||||
- name: Retrieve info about session by id
|
||||
consul_session:
|
||||
id: session_id
|
||||
state: info
|
||||
|
||||
- name: retrieve active sessions
|
||||
- name: Retrieve active sessions
|
||||
consul_session:
|
||||
state: list
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue