mirror of https://github.com/Aidaho12/haproxy-wi
parent
f696d8ed63
commit
ad11629782
|
@ -1,4 +1,12 @@
|
||||||
---
|
---
|
||||||
|
- name: Ensure Podman is not installed.
|
||||||
|
package:
|
||||||
|
name:
|
||||||
|
- runc
|
||||||
|
- podman
|
||||||
|
- podman-catatonit
|
||||||
|
state: absent
|
||||||
|
|
||||||
- name: Add Docker GPG key.
|
- name: Add Docker GPG key.
|
||||||
rpm_key:
|
rpm_key:
|
||||||
key: "{{ docker_yum_gpg_key }}"
|
key: "{{ docker_yum_gpg_key }}"
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
- name: Set passlib version
|
- name: Set passlib version
|
||||||
set_fact:
|
set_fact:
|
||||||
passlib_ver: "python3-passlib"
|
passlib_ver: "python3-passlib"
|
||||||
when: (ansible_facts['distribution_major_version'] == '8' and (ansible_facts['os_family'] == "RedHat" or ansible_facts['os_family'] == 'CentOS')) or (ansible_facts['os_family'] == 'Debian' or ansible_facts['os_family'] == 'Ubuntu')
|
when: ansible_facts['distribution_major_version'] == '8'
|
||||||
ignore_errors: True
|
ignore_errors: True
|
||||||
|
|
||||||
|
|
||||||
|
@ -44,7 +44,18 @@
|
||||||
package:
|
package:
|
||||||
name: "{{passlib_ver}}"
|
name: "{{passlib_ver}}"
|
||||||
state: present
|
state: present
|
||||||
when: "'nginx' not in ansible_facts.packages"
|
when:
|
||||||
|
- "'nginx' not in ansible_facts.packages"
|
||||||
|
- ansible_facts['distribution_major_version'] != '9'
|
||||||
|
environment:
|
||||||
|
http_proxy: "{{PROXY}}"
|
||||||
|
https_proxy: "{{PROXY}}"
|
||||||
|
|
||||||
|
|
||||||
|
- name: Install passlib for el9
|
||||||
|
pip:
|
||||||
|
name: passlib
|
||||||
|
when: ansible_facts['distribution_major_version'] == '9'
|
||||||
environment:
|
environment:
|
||||||
http_proxy: "{{PROXY}}"
|
http_proxy: "{{PROXY}}"
|
||||||
https_proxy: "{{PROXY}}"
|
https_proxy: "{{PROXY}}"
|
||||||
|
|
Loading…
Reference in New Issue