Merge "Do not install distro packages with a VENV activated"

This commit is contained in:
Zuul 2019-03-19 14:13:25 +00:00 committed by Gerrit Code Review
commit 2969aba192

View File

@ -18,12 +18,10 @@
- name: "Update Package Cache" - name: "Update Package Cache"
apt: update_cache=yes apt: update_cache=yes
environment: "{{ venv }}"
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: "Install packages" - name: "Install packages"
action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" action: "{{ ansible_pkg_mgr }} name={{ item }} state=present"
environment: "{{ venv }}"
with_items: "{{ required_packages }}" with_items: "{{ required_packages }}"
- name: "If running in CI, set source install facts just to be sure" - name: "If running in CI, set source install facts just to be sure"