--- # These should be set by the caller — defaults here are guards that # fail loud if the caller forgot to pass them. veza_active_color: "" veza_release_sha: "" # veza_env is read from group_vars (staging|prod). Validates inside # tasks/main.yml. # Paths inside the SHARED HAProxy container. Per-env state files so a # staging deploy can't accidentally trip the prod active-color (and # vice versa). haproxy_cfg_path: /etc/haproxy/haproxy.cfg haproxy_cfg_new_path: /etc/haproxy/haproxy.cfg.new haproxy_cfg_backup_path: /etc/haproxy/haproxy.cfg.bak haproxy_state_dir: /var/lib/veza haproxy_active_color_file: "/var/lib/veza/active-color-{{ veza_env }}" haproxy_active_color_history: "/var/lib/veza/active-color-{{ veza_env }}.history" # How many history entries to keep before pruning. The rollback role # offers point-in-time switch within this window without redeploying # the artefact. haproxy_active_color_history_keep: 5