Merge "Do not install distro packages with a VENV activated"
This commit is contained in:
commit
2969aba192
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user