Role memcached_server for OpenStack-Ansible
Go to file
Jean-Philippe Evrard f43f9d2370 Fix regression for bare metal nodes
When running on bare metal, the log folders are created in advance
to /openstack/log/aio1-memcached in a /var/log/memcached link.

The task ``Create memcached log dir`` would then fail with:
``/var/log/memcached already exists as a link``,
because the folder exists, and the exit 1 after the chown
would trigger.

This replaces the code with a more idempotent code:
If a change would be detected by chown -c, it would be listed
in the stdout, while the rc would still be 0.
An error in chown would still be rc != 0.

So we can use this different state to mark the task as changed
or not, and handle the create folder case when no folder exists.

Change-Id: I904f13d2ae02cd410edc4aaeb83bedd1e14d69fb
2017-12-06 10:32:25 +00:00
defaults Clean up the role and further isolate the service 2017-11-29 20:37:56 -06:00
doc Initial OSA zuul v3 role jobs 2017-10-17 18:21:07 +00:00
examples [DOCS] Move example playbook to separate file 2016-08-11 20:29:07 -05:00
files Add SUSE support 2017-04-04 16:22:08 +01:00
handlers enable memcached for CentOS 2017-04-26 16:08:10 +00:00
meta Add OpenStack-Ansible metadata 2017-10-11 08:35:17 +00:00
releasenotes Remove setting of version/release from releasenotes 2017-11-17 08:21:42 +01:00
tasks Fix regression for bare metal nodes 2017-12-06 10:32:25 +00:00
templates Clean up the role and further isolate the service 2017-11-29 20:37:56 -06:00
tests Clean up the role and further isolate the service 2017-11-29 20:37:56 -06:00
vars Optimise the distro package installation 2017-06-08 17:00:26 +01:00
zuul.d Remove unified queue from gate pipeline 2017-10-23 11:13:19 +01:00
.gitignore Updated from OpenStack Ansible Tests 2017-07-06 21:07:54 +00:00
.gitreview updated repo pathing for new org 2015-12-10 16:51:45 -06:00
bindep.txt Updated from OpenStack Ansible Tests 2017-12-06 00:05:36 +00:00
CONTRIBUTING.rst [DOCS] - Removing tags: and category: 2016-08-18 19:41:49 +00:00
LICENSE first commit 2015-12-09 09:24:22 -06:00
manual-test.rc Use centralised test scripts 2016-09-27 16:03:38 +00:00
README.rst Show team and repo badges on README 2016-11-25 16:04:46 +01:00
run_tests.sh Updated from OpenStack Ansible Tests 2017-11-10 13:15:13 +00:00
setup.cfg Changed the home-page link 2016-10-05 12:59:10 +05:30
setup.py Updated from global requirements 2017-03-02 11:51:20 +00:00
test-requirements.txt Updated from global requirements 2017-09-16 23:19:19 +00:00
tox.ini Ensure that role tests pin pip/setuptools/wheel 2017-06-04 11:18:57 +01:00
Vagrantfile Updated from OpenStack Ansible Tests 2017-07-28 14:59:59 +00:00

Team and repository tags

image

OpenStack-Ansible Memcached server

Ansible role to install and configure Memcached.

Documentation for the project can be found at:

http://docs.openstack.org/developer/openstack-ansible-memcached_server/

The project home is at:

http://launchpad.net/openstack-ansible