Sha256: dc3c35c78dc0a52b735bf49552805035f767efb859e9b81d9584e641e9499193

Contents?: true

Size: 925 Bytes

Versions: 23

Compression:

Stored size: 925 Bytes

Contents

---

- name: Install the memcached packages 
  yum: name={{ item }} state=present
  with_items: memcached_redhat_pkgs
  when: ansible_os_family == "RedHat"

- name: Install the memcached packages 
  apt: name={{ item }} state=present update_cache=yes
  with_items: memcached_ubuntu_pkgs
  environment: env
  when: ansible_os_family == "Debian"

- name: Copy the client configuration file 
  template: src=memcached_redhat.j2 dest=/etc/sysconfig/memcached
  notify: 
   - restart memcached
  when: ansible_os_family == "RedHat"

- name: Copy the client configuration file 
  template: src=memcached_debian.j2 dest=/etc/memcached.conf
  notify: restart memcached
  when: ansible_os_family == "Debian"

- name: Set the max open file descriptors 
  sysctl: name=fs.file-max value={{ memcached_fs_file_max }} state=present ignoreerrors=yes

- name: start the memcached service
  service: name=memcached state=started enabled=yes

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
taperole-1.1.1 vendor/bennojoy.memcached/tasks/main.yml
taperole-1.1.0 vendor/bennojoy.memcached/tasks/main.yml
taperole-1.0.1 vendor/bennojoy.memcached/tasks/main.yml