Commit Graph

15 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 70d3b8bcd9 Fix linters issue and metadata
With update of ansible-lint to version >=6.0.0 a lot of new
linters were added, that enabled by default. In order to comply
with linter rules we're applying changes to the role.

With that we also update metdata to reflect current state.

Change-Id: Ib46df44ae2251932cf9169721ef463f0ec78b64e
2023-07-11 19:31:03 +02:00
Jonathan Rosser 2766425472 Remove references to unsupported operating systems
All references to Gentoo, SUSE, Debian stretch and Centos-7  are removed.
Conditional tasks, ternary operators and variables are simplified where possible
OS specific variables files are generalised where possible

Change-Id: Ibde83024d1c3a7fc2a91ebaa14f33ad1976a7b22
2021-03-17 09:06:32 +00:00
Jean-Philippe Evrard 7854151dbd Clarify supported SUSE versions
This role only support openSUSE Leap 15, not 42.3, not tumbleweed.
Saying all is confusing and a bad practice. This fixes it, while
ensuring the job is properly defined to test that assertion.

Change-Id: Iee160d8e0c6a24ea7537b974790825c55086ef18
2019-05-22 13:33:40 +00:00
Mohammed Naser a1461a6a0f debian: add ci and update meta
This patch adds the Debian jobs for this role to make sure
it's always passing as well as updates the meta to reflect
it's support of Debian accordingly.

Depends-On: I135ea73604890eae5e9e2a7cdcab81b2b39ad426
Change-Id: I64c1a0b7a356ae35f90270e17731a2b7b606a289
2019-04-06 23:33:46 +00:00
Mohammed Naser 9b0a15cf1c speedup: drop apt pinning dependency
We don't pin anything for memcache so we're just running things
for no reason.

Change-Id: I3a518204a28307cc9f8db593e3117933112a8410
2019-01-03 18:20:20 -05:00
Jonathan Rosser 22c15c36d3 List ubuntu releases in release order
Change-Id: If41a33b11557ef8c4cde9047a83414e38acb5c42
2018-08-02 15:42:46 +00:00
Jean-Philippe Evrard fa9e1cc896 Add Bionic testing
Now that bionic testing is added into the tests repos, we can
start testing it in the repo.

Depends-On: https://review.openstack.org/#/c/566959/
Change-Id: I2b27f7eaee4d78e1e2ab7843d9b58cf59e47c854
2018-05-14 20:55:17 +02:00
Jean-Philippe Evrard 508ac8026f Add OpenStack-Ansible metadata
We need to add openstack ansible information in the role
metadata to be able to track role maturity. With it,
we can create a role maturity table and take decisions about
role deprecations.

Change-Id: Ic55c57d09fef0a8f044a060f32e7040daaa0c3bc
2017-10-11 08:35:17 +00:00
Jesse Pretorius b259318aee Optimise apt cache update task
In https://review.openstack.org/457391 we consolidated
the package install tasks into one set, but it's also
possible to provide the package action plugin the
parameters for the underlying module, so we do that
here to get rid of the apt cache update task.

The minimum Ansible version is raised to 2.2 due to a
known bug [1] in Ansible's apt module which does not
update the cache properly if the cache update and the
install are combined in a single task.

[1] https://github.com/ansible/ansible-modules-core/issues/1497

Change-Id: If3209379c04b3bfdf3fd8af8615fc6e0036b1c52
2017-04-20 15:12:59 +01:00
Jimmy McCrory d7e47fa89e Use package module to install distro packages
Consolidate distro package install tasks into a single taskfile using
the package module.

Change-Id: I6626132d8a22d07574826dde2e51bcfd79f116d9
2017-04-17 16:05:47 -07:00
Markos Chandras 58e17aa13e Add SUSE support
Add support for SUSE based distributions

Change-Id: Ib57cceeb9af4d1d0232a20622ad6efdba4cc346d
2017-04-04 16:22:08 +01:00
Andy McCrae bb49d55afb Remove Trusty support from memcached_server role
Change-Id: Idf6c9f8ce01f467f30ceef72f6b22dd029b6e942
Implements: blueprint trusty-removal
2016-12-15 13:14:04 +00:00
Travis Truman 84952513f9 Update meta to show support for Xenial and CentOS
Change-Id: I28208a1ea04fcc03e6933b5c0981b7eabb9adc01
Implements: blueprint multi-platform-host
2016-06-10 10:00:50 -04:00
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
Kevin Carter b818df54e2
first commit
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2015-12-09 09:24:22 -06:00