initial checkin

This commit is contained in:
Radar231 2021-10-19 18:34:34 -04:00
commit 5233b767d7
3 changed files with 49 additions and 0 deletions

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# Ansible Role: k8s_haproxy_deploy
## Introduction
This role will deploy the haproxy ingress controller helm chart.
This role requires that the 'devpath' and 'haproxy-ingress-ver' variables be set.

9
meta/main.yml Normal file
View File

@ -0,0 +1,9 @@
galaxy_info:
author: radar231
license: license (GPL-2.0-or-later, MIT, etc)
min_ansible_version: 2.1
galaxy_tags: []
dependencies: []
# EOF

32
tasks/main.yml Normal file
View File

@ -0,0 +1,32 @@
---
#####################################################################
#
# haproxy_deploy role
#
# This role will deploy the haproxy ingress controller helm chart
#
# - requires that the 'devpath' variable be set
# - requires that the 'haproxy-ingress-ver' variable be set
#
#####################################################################
# tasks file for haproxy_deploy role
- debug: msg="Deploying haproxy ingress controller."
- name: Add haproxy helm repo
community.kubernetes.helm_repository:
name: haproxy-ingress
repo_url: "https://haproxy-ingress.github.io/charts"
- name: Deploy haproxy ingress controller helm chart
community.kubernetes.helm:
name: haproxy-ingress
namespace: ingress-controller
create_namespace: true
chart_ref: haproxy-ingress/haproxy-ingress
chart_version: "{{ haproxy-ingress-ver }}"
values:
- controller:
hostNetwork: true
# EOF