alesauce / ansible_role_install_haproxy

Ansible Galaxy role to install HAProxy load balancer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Development

Setup of the environment currently uses Nix and direnv to install Python, pip, and virtualenv. The virtualenv is then used to install molecule, yamllint, ansible-lint, and ansible-core, among other dependencies. Steps to set up the environment:

  1. Clone the repo to your local machine.
  2. With Nix and direnv installed, run direnv allow. This will set up the Python environment.
  3. Create a new virtual environment with python3 -m venv .venv
  4. Activate the virtual environment with source .venv/bin/activate
  5. Install needed dependencies with python3 -m pip install -r requirements.txt

About

Ansible Galaxy role to install HAProxy load balancer


Languages

Language:Jinja 63.6%Language:Nix 36.4%