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

Change module apt with multiple packages to remove deprecated syntax

parent 6c3a94c3
No related branches found
No related tags found
No related merge requests found
......@@ -18,11 +18,12 @@
- name: "MySQL | Update required packages"
apt:
pkg='{{ item }}'
pkg='{{ packages }}'
state=present
with_items:
- 'mysql-server'
- 'mytop'
vars:
packages:
- 'mysql-server'
- 'mytop'
- name: "MySQL | Check version"
shell: 'mysqld --version'
......
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