fix(base): skip the sshd forward assert when --check has not written the config #600
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!600
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "fix/sshd-forward-assert-check-mode"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Found while applying #599 to staging.
What
roles/base/tasks/main.yml: the sshd forward assertion from #598 is skipped when--checkruns and "Configure sshd" reports a change. Check mode does not write the new file, sosshd -Tstill parses the old one and the assertion fails. That blocked the staging dry-run and would block any dry-run that flipskeycloak_enabled. A real apply writes the file first and still enforces the assertion.group_vars/staging/vault.yml: addsvault_keycloak_db_passwordandvault_keycloak_bootstrap_client_secret(encrypted). They were applied to staging with #599.Verified
ansible-playbook -i inventory/staging.yml site.yml --check --diff --tags base:failed=0. The only change is theMatch User adminblock and the sshd restart.Refs #570