Skip to content

robertdebock/ansible-playbook-haproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Playbook HAProxy

A minimal playbook to provision multiple machines.

Overview

            +--- frontend-01 ---+
            | - haproxy         |
            +-------------------+
                     / \
                    /   \
                   V     V
+--- backend-01 ----+   +--- backend-02 ----+
| - httpd           |   | - httpd           |
+-------------------+   +-------------------+

Setup

The state of the used roles:

Role name GitHub Action GitLab CI Version
bootstrap github gitlab version
buildtools github gitlab version
core_dependencies github gitlab version
epel github gitlab version
haproxy github gitlab version
hostname github gitlab version
httpd github gitlab version
openssl github gitlab version
python_pip github gitlab version
ansible-galaxy install -r roles/requirements.yml

Installing

ansible-playbook playbook.yml

Testing

Now check the IP of a frontend instance using vagrant ssh-config and point your brower to that IP using https://.

About

A test environment for HAProxy using Ansible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published