Refactor the vault/secrets
This commit is contained in:
parent
11c339ce92
commit
28f2e9a33a
32 changed files with 144 additions and 83 deletions
|
|
@ -1,4 +1,9 @@
|
|||
---
|
||||
healthcheck_matrix_token: "{{ undef() }}"
|
||||
healthcheck_matrix_room: "{{ undef() }}"
|
||||
healthcheck_mailer_user: "{{ undef() }}"
|
||||
healthcheck_mailer_pass: "{{ undef() }}"
|
||||
|
||||
healthcheck_svc:
|
||||
checks:
|
||||
- mail
|
||||
|
|
@ -10,11 +15,11 @@ healthcheck_env:
|
|||
MATRIX_SERVER: https://matrix.serguzim.me
|
||||
MATRIX_SERVER_FEDTESTER: msrg.cc
|
||||
MATRIX_HC_URL: "{{ opentofu.healthchecksio.healthcheck.matrix.ping_url }}"
|
||||
MATRIX_TOKEN: "{{ vault_healthcheck.matrix.token }}"
|
||||
MATRIX_ROOM: "{{ vault_healthcheck.matrix.room }}"
|
||||
MATRIX_TOKEN: "{{ healthcheck_matrix_token | mandatory }}"
|
||||
MATRIX_ROOM: "{{ healthcheck_matrix_room | mandatory }}"
|
||||
|
||||
MAIL_HC_UID: "{{ opentofu.healthchecksio.healthcheck.mail.id }}"
|
||||
MAIL_HOST: "{{ mailer.host }}"
|
||||
MAIL_PORT: "{{ mailer.port }}"
|
||||
MAIL_USER: "{{ vault_healthcheck.mailer.user }}"
|
||||
MAIL_PASS: "{{ vault_healthcheck.mailer.pass }}"
|
||||
MAIL_USER: "{{ healthcheck_mailer_user | mandatory }}"
|
||||
MAIL_PASS: "{{ healthcheck_mailer_pass | mandatory }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue