Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HAproxy / LB updates for RHEL8 #668

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
37 changes: 21 additions & 16 deletions playbooks/manage-lb/lb-vms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,24 @@
- name: 'Generate and activate the HAproxy configuration'
hosts: lb_vms
tasks:
- import_role:
name: load-balancers/manage-haproxy
tasks_from: install
tags:
- 'never'
- 'install'
- import_role:
name: load-balancers/manage-haproxy
tasks_from: generate-config
tags:
- 'always'
- import_role:
name: load-balancers/manage-haproxy
tasks_from: activate-config
tags:
- 'always'
- import_role:
name: keepalived
tags:
- 'never'
- 'install'
- import_role:
name: load-balancers/manage-haproxy
tasks_from: install
tags:
- 'never'
- 'install'
- import_role:
name: load-balancers/manage-haproxy
tasks_from: generate-config
tags:
- 'always'
- import_role:
name: load-balancers/manage-haproxy
tasks_from: activate-config
tags:
- 'always'
1 change: 0 additions & 1 deletion roles/keepalived/tasks/prereq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
state: installed
with_items:
- keepalived
- libsemanage-python
notify: 'start and enable keepalived services'


Expand Down
2 changes: 0 additions & 2 deletions roles/load-balancers/manage-haproxy/tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
- openssl-devel
- firewalld
- python3-firewall
- libsemanage-python
- policycoreutils-python
notify: 'enable and start service(s)'

- name: 'Start firewalld'
Expand Down