You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `haproxy_decision_certbot_hook_reload_command` | `systemctl reload haproxy` | Command executed by the hook after regenerating PEM bundles. |
70
70
| `haproxy_decision_global_settings` / `haproxy_decision_defaults_settings` | see defaults | Lists of directives written to the `global` and `defaults` sections. |
71
71
| `haproxy_decision_listeners`, `haproxy_decision_frontends`, `haproxy_decision_backends` | `[]` | Optional lists of sections appended to the generated configuration. |
72
+
| `haproxy_decision_manage_decision_policy` | `false` | When `true` and the `decision` SPOA is enabled, the role creates `/etc/decision-policy` (override with `haproxy_decision_decision_policy_dir`) and renders a managed `policy.yml`. |
73
+
| `haproxy_decision_decision_policy` | `{}` | Mapping rendered into the policy file via `to_nice_yaml`. Mirror the structure described in the decision-spoa documentation. |
72
74
| `haproxy_decision_spoas` | see defaults | Dictionary describing each SPOA daemon. Set `enabled: true` to activate one, adjust service/backend data, and rely on `haproxy_decision_spoa_releases` for download metadata when installing from GitHub releases. |
73
75
| `haproxy_decision_manage_spoa_configs` | `true` | Controls whether the role writes SPOE configuration snippets. |
74
76
| `haproxy_decision_manage_spoa_env` | `true` | Controls whether `/etc/default/*` files are managed for SPOAs. |
@@ -133,6 +135,102 @@ Each `listener`, `frontend`, and `backend` entry can optionally supply a single
133
135
rendered with Ansible’s template lookup and appended after the static `lines`,
134
136
which lets you reuse complex fragments while keeping simple cases inline.
135
137
138
+
## Certificate management
139
+
140
+
Enable `haproxy_decision_manage_certificates` to have the role assemble the `.pem`
141
+
bundles that HAProxy expects under `haproxy_decision_certificate_dir`. Certificates
142
+
can come from Certbot or any other CA—point each entry at either a combined PEM or
143
+
the separate `fullchain` and `privkey` files exposed on the target host:
0 commit comments