Fix deprecation warning

Change-Id: Ia99ac491f8d816f45e24a8db9e730e5672acd055
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-12-05 21:50:58 -05:00
parent b0112d6fae
commit 47dc121c1f

View File

@ -17,11 +17,11 @@
virtualenv_build_depends: "{{ __virtualenv_build_depends | list }}"
when: virtualenv_build_depends is not defined
- name: Ensure build dependencies are installed
- name: Ensure build dependencies are present
become: yes
package:
name: "{{ item }}"
state: installed
state: present
with_items: "{{ virtualenv_build_depends }}"
when: virtualenv_install_method == 'git' or virtualenv_install_method == 'pip'