Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Ansible HAproxy (OpenStack ready)

[![Build Status](https://travis-ci.com/uoi-io/ansible-haproxy.svg?branch=master)](https://travis-ci.com/uoi-io/ansible-haproxy) [![Ansible Galaxy](https://img.shields.io/badge/galaxy-uoi.haproxy-green.svg?style=flat)](https://galaxy.ansible.com/uoi-io/haproxy/)
[![CI](https://github.com/uoi-io/ansible-haproxy/actions/workflows/ci.yml/badge.svg)](https://github.com/uoi-io/ansible-haproxy/actions/workflows/ci.yml) [![Ansible Galaxy](https://img.shields.io/badge/galaxy-uoi.haproxy-green.svg?style=flat)](https://galaxy.ansible.com/uoi-io/haproxy/)

This role provides support for the installation of HAproxy on current distributions:

- CentOS **7.x** / **8.x**
- RedHat **7.x** / Not tested on **8.x** but should work
- Fedora **33** / **34**
- Debian **9.x** / **10.x** / **11.x**
- Ubuntu **18.04** / **20.04**
- Rocky Linux **8** / **9**
- Fedora **37** / **38** / **39**
- Debian **10** / **11**
- Ubuntu **18.04** / **20.04** / **22.04**

The role allows you to configure multiple sections of HAproxy:

Expand Down
4 changes: 2 additions & 2 deletions molecule/default/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ FROM {{ item.image }}
{% endif %}

RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install --no-install-recommends -y net-tools procps python3 python3-apt && apt-get clean; \
elif [ $(command -v dnf) ]; then dnf install -y net-tools procps-ng && dnf clean all; \
elif [ $(command -v yum) ]; then yum install -y net-tools procps-ng && yum clean all; fi
elif [ $(command -v dnf) ]; then dnf install -y net-tools procps-ng systemd-udev && dnf clean all; \
elif [ $(command -v yum) ]; then yum install -y net-tools procps-ng systemd-udev && yum clean all; fi