瀏覽代碼

oso_host_monitoring: added environment as a var to the host monitoring systemd script

Matt Woodson 9 年之前
父節點
當前提交
d59f6d9a98
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      roles/oso_host_monitoring/templates/oso-rhel7-host-monitoring.service.j2

+ 1 - 0
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                                                  \