Skip to content

Commit

Permalink
Rewrite of the 'debops.redis' role
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed Aug 29, 2016
1 parent 50e18b0 commit 789c352
Show file tree
Hide file tree
Showing 31 changed files with 1,319 additions and 998 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.. _redis__ref_changelog:

Changelog
=========

Expand All @@ -22,6 +24,10 @@ Changed
- Move the role variables from ``vars/main.yml`` to ``defaults/main.yml``.
[drybjed]

- The role has been redesigned from the ground up. Variables and service
parameters have been reorganized, role supports standalone as well as
clustered operation with Redis Sentinel. [drybjed]


debops.redis v0.1.0 - 2016-06-28
--------------------------------
Expand Down
35 changes: 35 additions & 0 deletions UPGRADE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
.. _redis__ref_upgrade_nodes:

Upgrade notes
=============

The upgrade notes only describe necessary changes that you might need to make
to your setup in order to use a new role release. Refer to the
:ref:`redis__ref_changelog` for more details about what has changed.

From v0.1.0 to v0.2.0
---------------------

All inventory variables have been renamed so you will need to update your
inventory. Check the variables in ``defaults/main.yml`` file to see the changed
names.

The Redis Server and Sentinel parameters are not configured in separate default
variables anymore - instead, each one uses a set of YAML dictionary variables
to hold the configuration. Redis Server can be configured on all levels of the
Ansible inventory (all, group, host), Redis Sentinel can only be configured
globally.

Redis requires an authentication by a password before applications can use it.
The password is accessible either via Ansible local facts (usable by other
Ansible roles), or using the ``redis-password`` command (usable by users
included in the ``redis-auth`` UNIX group). If you store the password in
a configuration file, make sure that only specific user or group can read it;
otherwise it can be read by untrusted users and the security will be broken.

Support for Debian Wheezy and SysVinit is removed, role relies on systemd units
instead.

The Redis Server and Sentinel configuration files have been reorganized, role
most likely will not work with existing installations. Clean reinstall is
strongly recommended.
Loading

0 comments on commit 789c352

Please sign in to comment.