mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-05 07:49:10 -07:00
Fix Ansible documentation in part of example formatting. Part 1 (#332)
* Fix Ansible documentation in part of example formatting * Fix
This commit is contained in:
parent
983d937b7b
commit
328319b926
70 changed files with 762 additions and 705 deletions
|
@ -74,28 +74,28 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Install Elasticsearch Head plugin in Elasticsearch 2.x
|
||||
- elasticsearch_plugin:
|
||||
- name: Install Elasticsearch Head plugin in Elasticsearch 2.x
|
||||
elasticsearch_plugin:
|
||||
name: mobz/elasticsearch-head
|
||||
state: present
|
||||
|
||||
# Install a specific version of Elasticsearch Head in Elasticsearch 2.x
|
||||
- elasticsearch_plugin:
|
||||
- name: Install a specific version of Elasticsearch Head in Elasticsearch 2.x
|
||||
elasticsearch_plugin:
|
||||
name: mobz/elasticsearch-head
|
||||
version: 2.0.0
|
||||
|
||||
# Uninstall Elasticsearch head plugin in Elasticsearch 2.x
|
||||
- elasticsearch_plugin:
|
||||
- name: Uninstall Elasticsearch head plugin in Elasticsearch 2.x
|
||||
elasticsearch_plugin:
|
||||
name: mobz/elasticsearch-head
|
||||
state: absent
|
||||
|
||||
# Install a specific plugin in Elasticsearch >= 5.0
|
||||
- elasticsearch_plugin:
|
||||
- name: Install a specific plugin in Elasticsearch >= 5.0
|
||||
elasticsearch_plugin:
|
||||
name: analysis-icu
|
||||
state: present
|
||||
|
||||
# Install the ingest-geoip plugin with a forced installation
|
||||
- elasticsearch_plugin:
|
||||
- name: Install the ingest-geoip plugin with a forced installation
|
||||
elasticsearch_plugin:
|
||||
name: ingest-geoip
|
||||
state: present
|
||||
force: yes
|
||||
|
|
|
@ -54,17 +54,17 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Join's a Riak node to another node
|
||||
- riak:
|
||||
- name: "Join's a Riak node to another node"
|
||||
riak:
|
||||
command: join
|
||||
target_node: riak@10.1.1.1
|
||||
|
||||
# Wait for handoffs to finish. Use with async and poll.
|
||||
- riak:
|
||||
- name: Wait for handoffs to finish. Use with async and poll.
|
||||
riak:
|
||||
wait_for_handoffs: yes
|
||||
|
||||
# Wait for riak_kv service to startup
|
||||
- riak:
|
||||
- name: Wait for riak_kv service to startup
|
||||
riak:
|
||||
wait_for_service: kv
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue