项目作者: Aplyca

项目描述 :
Ansible role for Varnish
高级语言: Shell
项目地址: git://github.com/Aplyca/ansible-role-varnish.git
创建时间: 2014-10-21T16:53:14Z
项目社区:https://github.com/Aplyca/ansible-role-varnish

开源协议:MIT License

下载


Ansible Role: Varnish 3.x

Build Status
Circle CI
Ansible Role that installs and configure Varnish 3.x on Debian/Ubuntu.

Requirements

Use hash behavior for variables in ansible.cfg
See example: https://github.com/Aplyca/ansible-role-varnish/blob/master/tests/ansible.cfg
See official docs: http://docs.ansible.com/intro_configuration.html#hash-behaviour

Installation

Using ansible galaxy:

  1. ansible-galaxy install aplyca.Varnish

You can add this role as a dependency for other roles, add the role to the meta/main.yml file of your own role:

  1. dependencies:
  2. - { role: aplyca.Varnish }

Role Variables

See default variables: https://github.com/Aplyca/ansible-role-varnish/blob/master/defaults/main.yml

Dependencies

None.

Testing

Using Vagrant:

  1. tests/vagrant.sh

Using Docker:

  1. tests/docker.sh

You should see the Varnish cache running on http://localhost:6081

License

MIT / BSD

Author Information

Mauricio Sánchez from Aplyca SAS (http://www.aplyca.com)