modules: fix examples to use FQCN (#644)

* modules: fix examples to use FQCN

* fix

* fix

* fix
This commit is contained in:
Andrew Klychkov 2020-07-13 22:50:31 +03:00 committed by GitHub
commit 41cfdda6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
533 changed files with 2130 additions and 2130 deletions

View file

@ -75,27 +75,27 @@ options:
EXAMPLES = '''
- name: Install Elasticsearch Head plugin in Elasticsearch 2.x
elasticsearch_plugin:
community.general.elasticsearch_plugin:
name: mobz/elasticsearch-head
state: present
- name: Install a specific version of Elasticsearch Head in Elasticsearch 2.x
elasticsearch_plugin:
community.general.elasticsearch_plugin:
name: mobz/elasticsearch-head
version: 2.0.0
- name: Uninstall Elasticsearch head plugin in Elasticsearch 2.x
elasticsearch_plugin:
community.general.elasticsearch_plugin:
name: mobz/elasticsearch-head
state: absent
- name: Install a specific plugin in Elasticsearch >= 5.0
elasticsearch_plugin:
community.general.elasticsearch_plugin:
name: analysis-icu
state: present
- name: Install the ingest-geoip plugin with a forced installation
elasticsearch_plugin:
community.general.elasticsearch_plugin:
name: ingest-geoip
state: present
force: yes

View file

@ -56,18 +56,18 @@ options:
EXAMPLES = '''
- name: Install Elasticsearch head plugin
kibana_plugin:
community.general.kibana_plugin:
state: present
name: elasticsearch/marvel
- name: Install specific version of a plugin
kibana_plugin:
community.general.kibana_plugin:
state: present
name: elasticsearch/marvel
version: '2.3.3'
- name: Uninstall Elasticsearch head plugin
kibana_plugin:
community.general.kibana_plugin:
state: absent
name: elasticsearch/marvel
'''

View file

@ -77,41 +77,41 @@ author: "Xabier Larrakoetxea (@slok)"
EXAMPLES = '''
- name: Set local redis instance to be slave of melee.island on port 6377
redis:
community.general.redis:
command: slave
master_host: melee.island
master_port: 6377
- name: Deactivate slave mode
redis:
community.general.redis:
command: slave
slave_mode: master
- name: Flush all the redis db
redis:
community.general.redis:
command: flush
flush_mode: all
- name: Flush only one db in a redis instance
redis:
community.general.redis:
command: flush
db: 1
flush_mode: db
- name: Configure local redis to have 10000 max clients
redis:
community.general.redis:
command: config
name: maxclients
value: 10000
- name: Configure local redis maxmemory to 4GB
redis:
community.general.redis:
command: config
name: maxmemory
value: 4GB
- name: Configure local redis to have lua time limit of 100 ms
redis:
community.general.redis:
command: config
name: lua-time-limit
value: 100

View file

@ -55,16 +55,16 @@ options:
EXAMPLES = '''
- name: "Join's a Riak node to another node"
riak:
community.general.riak:
command: join
target_node: riak@10.1.1.1
- name: Wait for handoffs to finish. Use with async and poll.
riak:
community.general.riak:
wait_for_handoffs: yes
- name: Wait for riak_kv service to startup
riak:
community.general.riak:
wait_for_service: kv
'''