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

ansible-playbooks/general#19 Set role header

parent f0165188
No related branches found
No related tags found
No related merge requests found
---
# file: roles/memcache/tasks/main.yml
- name: "Install MemCache"
apt:
pkg='{{item}}'
state='installed'
update_cache=yes
with_items:
- php5-memcached
- memcached
when: php_version|default('5.5') != '7'
- name: "MemCache Role"
set_fact: role_memcache_started=true
tags: always
- block:
- name: "Install MemCache"
apt:
pkg='{{item}}'
state='installed'
update_cache=yes
with_items:
- php5-memcached
- memcached
when: php_version|default('5.5') != '7'
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