Remove unnecessary package install duplication
Currently the devel packages are installed everywhere, but they only need to be where the wheels are built. Also, there is already a task to install the packages needed on the target hosts when installing - so we do not need to give the same list to the venv install role because they will already have been installed. Change-Id: Ifdff299a81cbba90cf819c9a628650c8b1be3d6a
This commit is contained in:
parent
348e346adb
commit
0fcfbf374c
@ -65,7 +65,6 @@
|
|||||||
vars:
|
vars:
|
||||||
venv_build_distro_package_list: "{{ horizon_devel_distro_packages }}"
|
venv_build_distro_package_list: "{{ horizon_devel_distro_packages }}"
|
||||||
venv_install_destination_path: "{{ horizon_bin | dirname }}"
|
venv_install_destination_path: "{{ horizon_bin | dirname }}"
|
||||||
venv_install_distro_package_list: "{{ horizon_distro_packages }}"
|
|
||||||
venv_pip_install_args: "{{ horizon_pip_install_args }}"
|
venv_pip_install_args: "{{ horizon_pip_install_args }}"
|
||||||
venv_pip_packages: >-
|
venv_pip_packages: >-
|
||||||
{{ horizon_pip_packages + horizon_optional_pip_packages +
|
{{ horizon_pip_packages + horizon_optional_pip_packages +
|
||||||
|
@ -12,7 +12,8 @@
|
|||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
horizon_package_list: "{{ horizon_distro_packages + horizon_devel_distro_packages }}"
|
|
||||||
|
horizon_package_list: "{{ horizon_distro_packages }}"
|
||||||
_horizon_bin: "/openstack/venvs/horizon-{{ horizon_venv_tag }}/bin"
|
_horizon_bin: "/openstack/venvs/horizon-{{ horizon_venv_tag }}/bin"
|
||||||
_horizon_lib_dir: "{{ _horizon_bin | dirname }}/lib/python2.7/dist-packages"
|
_horizon_lib_dir: "{{ _horizon_bin | dirname }}/lib/python2.7/dist-packages"
|
||||||
horizon_python_lib_dir: "{{ _horizon_lib_dir }}"
|
horizon_python_lib_dir: "{{ _horizon_lib_dir }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user