mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
(cherry picked from commit bf7a954f00
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
592cd3747b
commit
a7c92f491d
4 changed files with 6 additions and 1 deletions
|
@ -18,7 +18,7 @@ redis_bin:
|
|||
CentOS: /usr/bin/redis-server
|
||||
FreeBSD: /usr/local/bin/redis-server
|
||||
|
||||
redis_module: "{{ (ansible_python_version is version('2.7', '>=')) | ternary('redis', 'redis==2.10.6') }}"
|
||||
redis_module: redis
|
||||
|
||||
redis_password: PASS
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- setup_remote_constraints
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
- name: Install redis module
|
||||
pip:
|
||||
name: "{{ redis_module }}"
|
||||
extra_args: "-c {{ remote_constraints }}"
|
||||
state: present
|
||||
notify: cleanup redis
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue