Skip to content

Simple ansible role to install Predixy - Redis Cluster Proxy

License

Notifications You must be signed in to change notification settings

williamchanrico/ansible-predixy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Predixy

Simple ansible role to install Predixy - Redis Proxy.

Github: https://github.com/joyieldInc/predixy

Example Playbook

---
- name: Predixy
  hosts: "{{ custom_hosts | default('tag_Hostgroup_example_predixy') }}"
  vars:
    predixy_config:
      bind: 0.0.0.0:6379
      cluster:
        # Choose either servers_dynamic_domain OR servers_static

        # Dynamically resolve target servers domain via ansible
        servers_dynamic_domain: target-cluster.service.consul
        servers_dynamic_port: 6379

        # Or statically configure target servers
        servers_static:
          - 10.1.2.3:6379
          - 10.1.2.4:6379
          - 10.1.2.5:6379

  roles:
    - predixy

Note: The predixy_config.cluster.servers_dynamic_domain option will try to resolve the domain from remote server.

Under Construction

Simple installation and config should works.

About

Simple ansible role to install Predixy - Redis Cluster Proxy

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published