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.

Finally, we remove the unnecessary installation of the
compiling packages because the python venv build role
already does it.

Depends-On: https://review.openstack.org/613585
Change-Id: I78a0df7ba62b59ea63ddceb76d47c9422235b9f3
This commit is contained in:
Jesse Pretorius 2018-10-30 19:28:45 +00:00
parent cfb61e28ac
commit c1e3248373
3 changed files with 0 additions and 4 deletions

View File

@ -41,7 +41,6 @@
vars:
venv_build_distro_package_list: "{{ designate_devel_distro_packages }}"
venv_install_destination_path: "{{ designate_bin | dirname }}"
venv_install_distro_package_list: "{{ designate_distro_packages }}"
venv_pip_install_args: "{{ designate_pip_install_args }}"
venv_pip_packages: "{{ (designate_oslomsg_amqp1_enabled | bool) | ternary(designate_pip_packages + designate_optional_oslomsg_amqp1_pip_packages, designate_pip_packages) }}"
venv_facts_when_changed:

View File

@ -31,5 +31,4 @@ designate_rndc_packages:
- bind-utils
designate_devel_distro_packages:
- pkg-config
- systemd-devel

View File

@ -36,9 +36,7 @@ designate_rndc_packages:
- bind9utils
designate_devel_distro_packages:
- build-essential
- libsystemd-dev
- pkg-config
_designate_mask_conflicting_units:
- designate-agent.service