Remove the need for PREFIX in unit files
Zuul and nodepool ansible roles have removed this logic, we should too. The service files will automagically setup the patch to our virtualenvs. Change-Id: I75453b72e2e4c9cb3d184f707eec7c2a337430aa Depends-On: https://review.openstack.org/558966 Depends-On: https://review.openstack.org/558968 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
23b607a461
commit
1f62b1a622
|
@ -13,8 +13,6 @@
|
|||
# under the License.
|
||||
---
|
||||
# windmill.zuul
|
||||
zuul_file_zuul_fingergw_service_config_src: zuul/etc/systemd/system/zuul-fingergw.service.d/override.conf.j2
|
||||
|
||||
zuul_pip_virtualenv_python: python3
|
||||
zuul_pip_virtualenv: /opt/venv/zuul-fingergw
|
||||
|
||||
|
|
|
@ -5,4 +5,3 @@
|
|||
{% if ansible_host | ipv4 %}
|
||||
Environment="STATSD_HOST={{ hostvars['statsd01'].ansible_host }}"
|
||||
{% endif %}
|
||||
Environment="PREFIX={{ nodepool_pip_virtualenv }}"
|
||||
|
|
|
@ -5,4 +5,3 @@
|
|||
{% if ansible_host | ipv4 %}
|
||||
Environment="STATSD_HOST={{ hostvars['statsd01'].ansible_host }}"
|
||||
{% endif %}
|
||||
Environment="PREFIX={{ nodepool_pip_virtualenv }}"
|
||||
|
|
|
@ -2,6 +2,5 @@
|
|||
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||
#
|
||||
[Service]
|
||||
Environment="PREFIX={{ zuul_pip_virtualenv }}"
|
||||
Group={{ zuul_user_group }}
|
||||
User={{ zuul_user_name }}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
# This file is generated by Ansible
|
||||
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||
#
|
||||
[Service]
|
||||
Environment="PREFIX={{ zuul_pip_virtualenv }}"
|
|
@ -2,6 +2,5 @@
|
|||
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||
#
|
||||
[Service]
|
||||
Environment="PREFIX={{ zuul_pip_virtualenv }}"
|
||||
Group={{ zuul_user_group }}
|
||||
User={{ zuul_user_name }}
|
||||
|
|
|
@ -2,6 +2,5 @@
|
|||
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||
#
|
||||
[Service]
|
||||
Environment="PREFIX={{ zuul_pip_virtualenv }}"
|
||||
Group={{ zuul_user_group }}
|
||||
User={{ zuul_user_name }}
|
||||
|
|
|
@ -2,6 +2,5 @@
|
|||
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||
#
|
||||
[Service]
|
||||
Environment="PREFIX={{ zuul_pip_virtualenv }}"
|
||||
Group={{ zuul_user_group }}
|
||||
User={{ zuul_user_name }}
|
||||
|
|
Loading…
Reference in New Issue