A redis ansible role based on Bitnami's chart.
A one of kubernetes cluster nodes as host target to run against, or control node with linked kubeconfig
.
The default varibales are defined in defaults/main.yml
, (e.g. versions) and should be overriden as convenient.
All the helm chart variables can be set there as well.
A requirement of helm
role is loaded with the role's Dependencies automatically.
Install the requirements, then include the role in your playbook as follows:
ansible-galaxy install abarrak.redis_ansible_role
- hosts: all
roles:
- role: redis-ansible-role
To uninstall, include the relative tasks from role:
- name: uninstall redis
ansible.builtin.include_role:
name: redis-ansible-role
tasks_from: 'uninstall'
MIT.
Abdullah Barrak (@abarrak).