Role memcached_server for OpenStack-Ansible
Go to file
Matt Thompson f0185d9d88 Updated role using the Multi-Distro framework
This commit updates the memcached_server role to work on Trusty,
Xenial, and CentOS 7.

NOTES:

1. This role no longer creates the memcache user since both Ubuntu and
   CentOS already install a suitable user
2. We have temporarily disabled testing of the log file since CentOS and
   Xenial do not log to file
3. On Ubuntu we drop ulimits into /etc/defaults/memcached, we need to
   figure out how to do the equivalent on CentOS
4. We update tasks/memcached_config.yml to use the correct memcached
   user in limits.conf, however neither these limits or the ones in
   templates/memcached.debian.j2 actually seem to be taking effect.
   More work in an additional review will need to be done to clean this
   all up.

Implements: blueprint multi-platform-host

Change-Id: I4c32f3d60939615c5d0c6fb202e96aacb35ab9b4
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-05-26 16:52:54 +01:00
defaults Updated role using the Multi-Distro framework 2016-05-26 16:52:54 +01:00
doc first commit 2015-12-09 09:24:22 -06:00
handlers first commit 2015-12-09 09:24:22 -06:00
meta Updated role using the Multi-Distro framework 2016-05-26 16:52:54 +01:00
releasenotes Removing the `verbose` variable 2016-05-24 09:22:22 -04:00
tasks Updated role using the Multi-Distro framework 2016-05-26 16:52:54 +01:00
templates Updated role using the Multi-Distro framework 2016-05-26 16:52:54 +01:00
tests Updated role using the Multi-Distro framework 2016-05-26 16:52:54 +01:00
vars Updated role using the Multi-Distro framework 2016-05-26 16:52:54 +01:00
.gitignore Add .swp files to .gitignore 2016-05-04 15:18:42 +01:00
.gitreview updated repo pathing for new org 2015-12-10 16:51:45 -06:00
CONTRIBUTING.rst first commit 2015-12-09 09:24:22 -06:00
LICENSE first commit 2015-12-09 09:24:22 -06:00
README.rst first commit 2015-12-09 09:24:22 -06:00
other-requirements.txt Updated role using the Multi-Distro framework 2016-05-26 16:52:54 +01:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 08:54:39 +01:00
setup.cfg first commit 2015-12-09 09:24:22 -06:00
setup.py first commit 2015-12-09 09:24:22 -06:00
test-requirements.txt blacklist Ansible 1.9.6 2016-04-16 08:47:25 -05:00
tox.ini Updated role using the Multi-Distro framework 2016-05-26 16:52:54 +01:00

README.rst

OpenStack memcached servers

tags

openstack, memcached, server, cloud, ansible

category

*nix

Role for the deployoment and installation of Memcached

- name: Install memcached
  hosts: memcached
  user: root
  roles:
    - { role: "memcached_server", tags: [ "memcached-server" ] }
  vars:
    memcached_listen: "10.0.0.1"