pulp_installer is unpredictable about when it resets the admin password
#7493 is about to make it run more often.
The current thinking is to not run change the password after initial install ever.
However, we still need pulp_default_admin_password to be defined in pulp_devel and pulp_health_check . The beginning of pulp_database_config also makes sure it is defined, we may remove that.
Since the health check tests seem to need the password, it looks like we assume that the installer needs to know the current pulp admin password anyway.
So we could go a step further and say, that the password is managed by the installer. We can than add a test whether the password still works and (re-)set it. I'd say the variable should be named
pulp_admin_password in that case.
On the other hand, i don't think the status endpoint (used in the health check) needs the password. So we could use the set-only-if-touched-file-is-absent approach. We would instruct the user to delete that file in order to reset the password via the installer.
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|b8c456cada26f93bb2e50c0d71d97ccee2e7271d.
Please register to edit this issue