mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-05 15:59:09 -07:00
Fix Ansible documentation in part of example formatting (#334)
This commit is contained in:
parent
58ed77e851
commit
983d937b7b
58 changed files with 376 additions and 353 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue