2017 © Pedro Peláez
 

chef-role ansible-role-nginx-upstream

Ansible role to configure nginx upstreams used for loadbalancing

image

vundb/ansible-role-nginx-upstream

Ansible role to configure nginx upstreams used for loadbalancing

  • Saturday, November 26, 2016
  • by vundb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 36 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 6 % Grown

The README.md

Ansible Role Nginx Upstream

Ansible role to configure nginx upstreams used for loadbalancing., (*1)

Requirements

None., (*2)

Role Variables

  • nginx_user: Name of system user to run service with. Default value is "nginx", (*3)

  • nginx_group: Name of system group to run service with. Default value is "nginx", (*4)

  • nginx_services: Array with services to be restarted on configuration changes. Default value is ["nginx"], (*5)

  • nginx_upstreams: Array with upstream configuration. See default vars file, (*6)

Dependencies

None., (*7)

Example Playbook

- hosts: all
  roles:
    - role: vundb-nginx-lb
      nginx_upstreams:
        - label: "example-com"
          server_name: "example.com"
          port: 80
          ip_hash: true
          keepalive: 32
          servers:
            - "127.0.0.1:81"

License

MIT, (*8)

Author Information

  • You can find more roles in my GitHub channel vundb
  • Follow me on Twitter @vundb

The Versions

26/11 2016

dev-master

9999999-dev

Ansible role to configure nginx upstreams used for loadbalancing

  Sources   Download

MIT

The Requires

 

by Viktor Breitenbuecher

26/11 2016

1.2.0

1.2.0.0

Ansible role to configure nginx upstreams used for loadbalancing

  Sources   Download

MIT

The Requires

 

by Viktor Breitenbuecher

26/11 2016

1.1.0

1.1.0.0

Ansible role to configure nginx upstreams used for loadbalancing

  Sources   Download

MIT

The Requires

 

by Viktor Breitenbuecher

20/11 2016

1.0.0

1.0.0.0

Ansible role to configure nginx as loadbalancer.

  Sources   Download

MIT

The Requires

 

by Viktor Breitenbuecher