ce-deploy

Maintenance Mode

This role and its sub-roles handle various methods for putting applications into an offline maintenance state. See each sub-role’s own defaults for additional variables.

Default variables

---
# Puts site(s) offline.
maintenance_mode:
  # Where do we apply maintenance - can be invoked more than one time for different purposes.
  # - nginx: serves a static maintenance page
  # - drupal-core: application level
  # - statuscake: disables a StatusCake check
  # @todo - haproxy: serves a static maintenance page.
  # @todo - drupal-read-only: application level via readonly module.
  mode: "nginx"
  # - offline: puts the site offline
  # @todo - restricted: put the site offline except for whitelist (nginx/haproxy only)
  # - online: brings the site back online.
  operation: "offline"