Skip to content
Snippets Groups Projects
Commit 7e8730ac authored by jurgenhaas's avatar jurgenhaas
Browse files

Change module apt with multiple packages to remove deprecated syntax

parent e1f3c35b
No related branches found
No related tags found
No related merge requests found
......@@ -3,12 +3,13 @@
- name: "Ensure packages"
apt:
pkg: '{{ item }}'
pkg: '{{ packages }}'
state: 'present'
with_items:
- 'python-pip'
- 'python-dev'
- 'python3-dev'
vars:
packages:
- 'python-pip'
- 'python-dev'
- 'python3-dev'
- name: "Ensure PIP packages"
pip:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment