Skip to content

Commit

Permalink
Merge pull request #116 from ironiq/master
Browse files Browse the repository at this point in the history
Fixed deprecation warning when installing multiple pip with "with_items"
  • Loading branch information
lae authored Nov 5, 2020
2 parents 8ecf6b4 + 8038ba6 commit be1575d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tasks/install_packages_yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@
# python3 psycopg2/selinux packages are not available on EPEL.
- name: Install psycopg2/selinux via pip on Red Hat-based distros
pip:
name: "{{ item }}"
name:
- psycopg2-binary
- selinux
state: present
vars:
ansible_python_interpreter: "{{ netbox_python_binary }}"
environment:
PATH: "/usr/local/bin:{{ _path }}"
with_items:
- psycopg2-binary
- selinux

0 comments on commit be1575d

Please sign in to comment.