diff --git a/roles/ufmonitor/templates/update-ufmonitor.j2 b/roles/ufmonitor/templates/update-ufmonitor.j2 index 5610a53ecc..6dc17ce481 100644 --- a/roles/ufmonitor/templates/update-ufmonitor.j2 +++ b/roles/ufmonitor/templates/update-ufmonitor.j2 @@ -4,5 +4,4 @@ # This job handles updating the ufmonitor database with new data from a pagure instance # -export POSTGRES_DB_PASSWORD='{{ ufmonitor_db_password }}' -docker run --add-host=postgres:{{ ufmonitor_db_host}} {{ updater_container_image }} +docker run --add-host=postgres:{{ ufmonitor_db_host}} -e POSTGRES_DB_PASSWORD="{{ ufmonitor_db_password }}" {{ updater_container_image }}