mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
Fix examples formatting (#345)
This commit is contained in:
parent
31ba39cac4
commit
a7c830f49d
148 changed files with 330 additions and 334 deletions
|
@ -57,7 +57,7 @@ EXAMPLES = '''
|
|||
state: absent
|
||||
name: logstash-filter-multiline
|
||||
|
||||
- name: install Logstash plugin with alternate heap size
|
||||
- name: Install Logstash plugin with alternate heap size
|
||||
logstash_plugin:
|
||||
state: present
|
||||
name: logstash-input-beats
|
||||
|
|
|
@ -129,7 +129,7 @@ author: "Anders Ingemann (@andsens)"
|
|||
EXAMPLES = '''
|
||||
# Fetch metrics about the CPU load every 60 seconds,
|
||||
# the sensu server has a handler called 'relay' which forwards stats to graphite
|
||||
- name: get cpu metrics
|
||||
- name: Get cpu metrics
|
||||
sensu_check:
|
||||
name: cpu_load
|
||||
command: /etc/sensu/plugins/system/cpu-mpstat-metrics.rb
|
||||
|
@ -139,7 +139,7 @@ EXAMPLES = '''
|
|||
interval: 60
|
||||
|
||||
# Check whether nginx is running
|
||||
- name: check nginx process
|
||||
- name: Check nginx process
|
||||
sensu_check:
|
||||
name: nginx_running
|
||||
command: /etc/sensu/plugins/processes/check-procs.rb -f /var/run/nginx.pid
|
||||
|
@ -150,7 +150,7 @@ EXAMPLES = '''
|
|||
# Stop monitoring the disk capacity.
|
||||
# Note that the check will still show up in the sensu dashboard,
|
||||
# to remove it completely you need to issue a DELETE request to the sensu api.
|
||||
- name: check disk
|
||||
- name: Check disk
|
||||
sensu_check:
|
||||
name: check_disk_capacity
|
||||
state: absent
|
||||
|
|
|
@ -51,11 +51,11 @@ reasons:
|
|||
|
||||
EXAMPLES = '''
|
||||
# Subscribe to the nginx channel
|
||||
- name: subscribe to nginx checks
|
||||
- name: Subscribe to nginx checks
|
||||
sensu_subscription: name=nginx
|
||||
|
||||
# Unsubscribe from the common checks channel
|
||||
- name: unsubscribe from common checks
|
||||
- name: Unsubscribe from common checks
|
||||
sensu_subscription: name=common state=absent
|
||||
'''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue