marksabbath.trellis_redis

Trellis Redis

This is an Ansible role designed to add Redis to a Trellis server setup.

This role works with Trellis. It will install and configure Redis along with the PECL php-redis extension on your server.

Getting Started

  1. Add this role to the galaxy.yml file in Trellis:

    - name: trellis-redis
      src: marksabbath.trellis_redis
      version: 0.2.6
    
  2. Run the command ansible-galaxy install -r galaxy.yml to install the new role.

  3. Next, include the role in both server.yml and dev.yml:

    roles:
        ... other Trellis roles ...
        - { role: trellis-redis, tags: [redis]}
    
  4. After adding the role to these files and installing it, provision your Vagrant box with:

    • vagrant reload --provision (if the Vagrant box is running) or
    • vagrant provision (if it’s not running).

If you haven't started the box yet, just run vagrant up.

Informazioni sul progetto

Install and configure Redis in Trellis as an object cache.

Installa
ansible-galaxy install marksabbath.trellis_redis
Licenza
mit
Download
5.6k
Proprietario
Working at WP Engine as Software Engineer