summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Flink <tflink@fedoraproject.org>2017-09-07 18:53:15 +0000
committerTim Flink <tflink@fedoraproject.org>2017-09-07 18:53:15 +0000
commiteaac9a098f3dd75ecdd27d761c38f8d373d82ff6 (patch)
tree477282c28291ce96d871d7cf7ac45fff7a3076b8
parent12773352a5ff7f7f50b745013a1f412779f07613 (diff)
downloadansible-eaac9a098f3dd75ecdd27d761c38f8d373d82ff6.tar.gz
ansible-eaac9a098f3dd75ecdd27d761c38f8d373d82ff6.tar.xz
ansible-eaac9a098f3dd75ecdd27d761c38f8d373d82ff6.zip
more script tweaking to make ufmonitor-update work
-rw-r--r--roles/ufmonitor/templates/update-ufmonitor.j23
1 files changed, 1 insertions, 2 deletions
diff --git a/roles/ufmonitor/templates/update-ufmonitor.j2 b/roles/ufmonitor/templates/update-ufmonitor.j2
index 5610a53ec..6dc17ce48 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 }}