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

Change module apt with multiple packages to remove deprecated syntax

parent 9252abfc
No related branches found
No related tags found
No related merge requests found
......@@ -9,11 +9,12 @@
- name: "Install MemCache"
apt:
pkg='{{item}}'
pkg='{{ packages }}'
state='present'
update_cache=yes
with_items:
- php{{ (php_version|default('5.5') == '5.3') | ternary('5','') }}-memcached
- memcached
vars:
packages:
- php{{ (php_version|default('5.5') == '5.3') | ternary('5','') }}-memcached
- memcached
when: '"memcache" not in excluded_roles'
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