Giter Site home page Giter Site logo

ansible-haproxy's Introduction

haproxy

Installs and configures HAProxy 1.5.

Versions

WARNING: This is the README for the master branch, which tracks the development of version 2 and targets Ansible 2.x. This branch is under active development and will include breaking changes.

The most recent release in the 1.x series is 1.1.0.

Features

  • Supports Alpine, CentOS, Debian, and Ubuntu.
  • Installs HAProxy 1.5 from official repositories on Debian and Ubuntu.
  • Installs EPEL repository on CentOS.

Role Variables

  • haproxy_global

    Global HAProxy settings.

  • haproxy_defaults

    Default settings for frontends, backends, and listen proxies.

  • haproxy_backends

    A list of HAProxy backends.

  • haproxy_frontends

    A list of HAProxy frontends.

  • haproxy_listen

    A list of listen proxies.

See vars/main.yml for a complete list of configurable .

Example

- hosts: loadbalancers
  roles:
     - role: haproxy
       haproxy_frontends:
       - name: 'fe-mysupersite'
         ip: '123.123.123.120'
         port: '80'
         maxconn: '1000'
         default_backend: 'be-mysupersite'
       haproxy_backends:
       - name: 'be-mysupersite'
         description: 'mysupersite is really cool'
         servers:
           - name: 'be-mysupersite-01'
             ip: '192.168.1.100'

License

Apache v2

ansible-haproxy's People

Contributors

benwebber avatar pierrepaul avatar r-daneel avatar scottrobertson avatar ahaitoute avatar hany avatar pieterlexis avatar reminec avatar call-it-basic avatar clwells avatar lavatoaster avatar nathanielks avatar noirbee avatar pbuyle avatar undergreen avatar tuyendv2 avatar roedie avatar dekhtyarev avatar

Watchers

James Cloos avatar Dominik Lenosi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.