Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
defaults
meta
tasks
tests
README.md

README.md

Pagerduty - bringing service in and out of maintenance mode

Required variables from inventory

  • vault_pagerduty_api_key
  • vault_pagerduty_email
  • vault_pagerduty_service
  • env_name

Example playbook

---
- hosts: localhost
  roles: 
    - pagerduty_maintenance

Example ansible-playbook commands

Maintenance window ON

ansible-playbook playbooks/local-toggle-pagerduty-maintenance-mode.yml -e "in_maintenance=ON"

Maintenance window OFF

ansible-playbook playbooks/local-toggle-pagerduty-maintenance-mode.yml -e "in_maintenance=OFF"
You can’t perform that action at this time.