Sha256: a7c3d25031e51775a638d0643b29ab2885efbcb86c753ad53318d9a58c510370
Contents?: true
Size: 913 Bytes
Versions: 11
Compression:
Stored size: 913 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: Disbale transparent_hugepage command: bash -lc 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' - name: Disable transparent_hugepage in grub lineinfile: dest: /etc/default/grub regexp: '^GRUB_CMDLINE_LINUX' line: 'GRUB_CMDLINE_LINUX="transparent_hugepage=never"' - name: Update Grub command: 'update-grub' - 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
11 entries across 11 versions & 1 rubygems