summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorMatt Woodson <mwoodson@redhat.com>2016-01-20 14:56:01 -0500
committerMatt Woodson <mwoodson@redhat.com>2016-01-20 14:56:01 -0500
commitd59f6d9a9890187090b51bc675496f98a09c2dac (patch)
tree5cd08b553bdca0f24111d9cd9277acc2952f22e3 /roles
parent88ce89f8be5cb4ad43760a0921ea4635eac77a1c (diff)
downloadopenshift-d59f6d9a9890187090b51bc675496f98a09c2dac.tar.gz
openshift-d59f6d9a9890187090b51bc675496f98a09c2dac.tar.bz2
openshift-d59f6d9a9890187090b51bc675496f98a09c2dac.tar.xz
openshift-d59f6d9a9890187090b51bc675496f98a09c2dac.zip
oso_host_monitoring: added environment as a var to the host monitoring systemd script
Diffstat (limited to 'roles')
-rw-r--r--roles/oso_host_monitoring/templates/oso-rhel7-host-monitoring.service.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/oso_host_monitoring/templates/oso-rhel7-host-monitoring.service.j2 b/roles/oso_host_monitoring/templates/oso-rhel7-host-monitoring.service.j2
index 753cad69f..31f7d4caa 100644
--- a/roles/oso_host_monitoring/templates/oso-rhel7-host-monitoring.service.j2
+++ b/roles/oso_host_monitoring/templates/oso-rhel7-host-monitoring.service.j2
@@ -47,6 +47,7 @@ ExecStart=/usr/bin/docker run --name {{ osohm_host_monitoring }}
-e ZAGG_SSL_VERIFY={{ osohm_zagg_verify_ssl }} \
-e OSO_CLUSTER_GROUP={{ cluster_group }} \
-e OSO_CLUSTER_ID={{ oo_clusterid }} \
+ -e OSO_ENVIRONMENT={{ oo_environment }} \
-e OSO_HOST_TYPE={{ hostvars[inventory_hostname]['ec2_tag_host-type'] }} \
-e OSO_SUB_HOST_TYPE={{ hostvars[inventory_hostname]['ec2_tag_sub-host-type'] }} \
-v /etc/localtime:/etc/localtime \