Fix Ansible documentation in part of example formatting (#334)

This commit is contained in:
Andrew Klychkov 2020-05-15 13:12:41 +03:00 committed by GitHub
parent 58ed77e851
commit 983d937b7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
58 changed files with 376 additions and 353 deletions

View file

@ -73,8 +73,8 @@ options:
'''
EXAMPLES = '''
# Trigger an incident with just the basic options
- pagerduty_alert:
- name: Trigger an incident with just the basic options
pagerduty_alert:
name: companyabc
integration_key: xxx
api_key: yourapikey
@ -82,8 +82,8 @@ EXAMPLES = '''
state: triggered
desc: problem that led to this trigger
# Trigger an incident with more options
- pagerduty_alert:
- name: Trigger an incident with more options
pagerduty_alert:
integration_key: xxx
api_key: yourapikey
service_id: PDservice
@ -93,8 +93,8 @@ EXAMPLES = '''
client: Sample Monitoring Service
client_url: http://service.example.com
# Acknowledge an incident based on incident_key
- pagerduty_alert:
- name: Acknowledge an incident based on incident_key
pagerduty_alert:
integration_key: xxx
api_key: yourapikey
service_id: PDservice
@ -102,8 +102,8 @@ EXAMPLES = '''
incident_key: somekey
desc: "some text for incident's log"
# Resolve an incident based on incident_key
- pagerduty_alert:
- name: Resolve an incident based on incident_key
pagerduty_alert:
integration_key: xxx
api_key: yourapikey
service_id: PDservice