1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Remove useless quotes - monitoring/statusio_maintenance.py (#19173)

This commit is contained in:
Fabio Alessandro Locati 2016-12-11 21:00:11 +01:00 committed by John R Barker
parent 114e3cb7a4
commit cf5424e165

View file

@ -137,55 +137,52 @@ options:
''' '''
EXAMPLES = ''' EXAMPLES = '''
# Create a maintenance window for 10 minutes on server1.example.com, with - name: Create a maintenance window for 10 minutes on server1, with automation to stop the maintenance
automation to stop the maintenance. statusio_maintenance:
- statusio_maintenance: title: Router Upgrade from ansible
title: "Router Upgrade from ansible" desc: Performing a Router Upgrade
desc: "Performing a Router Upgrade" components: server1.example.com
components: "server1.example.com" api_id: api_id
api_id: "api_id" api_key: api_key
api_key: "api_key" statuspage: statuspage_id
statuspage: "statuspage_id" maintenance_notify_1_hr: True
maintenance_notify_1_hr: true automation: True
automation: true
# Create a maintenance window for 60 minutes on multiple hosts - name: Create a maintenance window for 60 minutes on server1 and server2
- name: "Create maintenance window for server1 and server2" statusio_maintenance:
local_action: title: Routine maintenance
module: statusio_maintenance desc: Some security updates
title: "Routine maintenance"
desc: "Some security updates"
components: components:
- "server1.example.com" - server1.example.com
- "server2.example.com" - server2.example.com
minutes: "60" minutes: 60
api_id: "api_id" api_id: api_id
api_key: "api_key" api_key: api_key
statuspage: "statuspage_id" statuspage: statuspage_id
maintenance_notify_1_hr: true maintenance_notify_1_hr: True
automation: true automation: True
delegate_to: localhost
# Create a future maintenance window for 24 hours to all hosts inside the - name: Create a future maintenance window for 24 hours to all hosts inside the Primary Data Center
# Primary Data Center statusio_maintenance:
- statusio_maintenance: title: Data center downtime
title: Data center downtime desc: Performing a Upgrade to our data center
desc: Performing a Upgrade to our data center components: Primary Data Center
components: "Primary Data Center" api_id: api_id
api_id: "api_id" api_key: api_key
api_key: "api_key" statuspage: statuspage_id
statuspage: "statuspage_id" start_date: 01/01/2016
start_date: "01/01/2016" start_time: 12:00
start_time: "12:00" minutes: 1440
minutes: 1440
# Delete a maintenance window - name: Delete a maintenance window
- statusio_maintenance: statusio_maintenance:
title: "Remove a maintenance window" title: Remove a maintenance window
maintenance_id: "561f90faf74bc94a4700087b" maintenance_id: 561f90faf74bc94a4700087b
statuspage: "statuspage_id" statuspage: statuspage_id
api_id: "api_id" api_id: api_id
api_key: "api_key" api_key: api_key
state: absent state: absent
''' '''
# TODO: Add RETURN documentation. # TODO: Add RETURN documentation.