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

Change module apt with multiple packages to remove deprecated syntax

parent c980d9ba
No related branches found
No related tags found
No related merge requests found
......@@ -3,23 +3,24 @@
- name: "Install required packages"
apt:
pkg: '{{ item }}'
pkg: '{{ packages }}'
state: 'present'
update_cache: yes
with_items:
- 'zlib1g-dev'
- 'gcc'
- 'make'
- 'git'
- 'autoconf'
- 'autogen'
- 'automake'
- 'pkg-config'
- 'uuid-dev'
- 'python-dev'
- 'python-yaml'
- 'python3-dev'
- 'librsync-dev'
vars:
packages:
- 'zlib1g-dev'
- 'gcc'
- 'make'
- 'git'
- 'autoconf'
- 'autogen'
- 'automake'
- 'pkg-config'
- 'uuid-dev'
- 'python-dev'
- 'python-yaml'
- 'python3-dev'
- 'librsync-dev'
- name: "Remove existing components"
file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment