-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- removed deprecated ansible-lint arg
- replace tests for centos8 with rockylinux8 - use ansible fqcn from ansible-lint
- Loading branch information
Hayden Seitz
committed
Apr 6, 2022
1 parent
5d9f014
commit 16286dc
Showing
9 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
--- | ||
# file: roles/haproxy/handlers/main.yml | ||
- name: restart haproxy | ||
service: | ||
ansible.builtin.service: | ||
name: "{{ haproxy_service }}" | ||
state: restarted | ||
when: haproxy_mode == "system" | ||
|
||
- name: reload haproxy | ||
service: | ||
ansible.builtin.service: | ||
name: "{{ haproxy_service }}" | ||
state: reloaded | ||
when: haproxy_mode == "system" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
# file: roles/haproxy/tasks/install-Debian.yml | ||
- name: Set haproxy release | ||
set_fact: | ||
ansible.builtin.set_fact: | ||
haproxy_release: "{{ ansible_distribution_release }}-backports" | ||
when: haproxy_apt_backports | bool | ||
|
||
- name: "Installing HAproxy from {{ haproxy_release | default(ansible_distribution_release) }}" | ||
apt: | ||
ansible.builtin.apt: | ||
name: "{{ haproxy_package }}" | ||
state: present | ||
update_cache: true | ||
cache_valid_time: 3600 | ||
default_release: "{{ haproxy_release | default(ansible_distribution_release) }}" | ||
|
||
- name: "Installing selinux python bindings" | ||
apt: | ||
ansible.builtin.apt: | ||
name: "{{ haproxy_selinux_packages }}" | ||
state: present | ||
when: haproxy_selinux | bool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters