Sha256: 2bbdf7bf5b85abef146d6f861b1ab4cfdd652125c0b56f5dbc0c52ace34449d6

Contents?: true

Size: 568 Bytes

Versions: 1

Compression:

Stored size: 568 Bytes

Contents

- name: Get PPA for latest Redis
  apt_repository:
    repo: ppa:chris-lea/redis-server
    update_cache: true


- name: Install Redis
  apt:
    name: redis-server
    state: latest

- name: kernel | set system overcommit policy
  sysctl:
    name: vm.overcommit_memory
    value: 1
    reload: true
    state: present

- name: Register with monit
  template: src=redis.j2
            dest=/etc/monit/conf.d/redis
            mode=u=rw,g=r,o=r
  register: redis_monit_config

- name: Reload Monit
  command: bash -lc "monit reload"
  when: redis_monit_config.changed

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
taperole-1.8.1 roles/redis/tasks/main.yml