We’re happy to announce that the Status.io Ansible module has been created by Ben Copeland from the Linaro project. The module enables you to schedule new maintenances or delete existing maintenances.
Check out the source: https://github.com/bhcopeland/ansible-modules-extras/blob/devel/monitoring/statusio_maintenance.py