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

ansible-playbooks/general#85 Linting

parent 05f92fb8
No related branches found
No related tags found
No related merge requests found
---
# file: roles/memcache/tasks/main.yml
- name: "MemCache Role"
set_fact: role_memcache_started=true
tags: 'always'
- name: MemCache Role
set_fact:
role_memcache_started: yes
tags:
- always
- block:
- name: "Install MemCache"
- name: Install MemCache
apt:
pkg='{{ packages }}'
state='present'
......@@ -17,4 +19,4 @@
- php{{ (php_version|default('5.5') == '5.3') | ternary('5','') }}-memcached
- memcached
when: '"memcache" not in excluded_roles'
when: not excluded_roles or "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