pagerduty_maintenance

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"
About

Role for toggling PagerDuty Maintenance mode

Install
ansible-galaxy install giladju/pagerduty_maintenance
GitHub repository
License
Unknown
Downloads
29