nginx: Remove RHEL8 support
This commit is contained in:
parent
ec405bb1c0
commit
8742d750a3
1 changed files with 0 additions and 15 deletions
|
@ -2,21 +2,6 @@
|
||||||
- name: Include OS-specific variables
|
- name: Include OS-specific variables
|
||||||
ansible.builtin.include_vars: "{{ ansible_os_family }}.yml"
|
ansible.builtin.include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
- name: Enable nginx:122 module
|
|
||||||
ansible.builtin.command:
|
|
||||||
argv:
|
|
||||||
- dnf
|
|
||||||
- module
|
|
||||||
- -y
|
|
||||||
- enable
|
|
||||||
- nginx:1.22
|
|
||||||
creates: /etc/dnf/modules.d/nginx.module
|
|
||||||
notify: Restart nginx
|
|
||||||
when:
|
|
||||||
- ansible_os_family == "RedHat"
|
|
||||||
- ansible_distribution_major_version | int == 8
|
|
||||||
- ansible_distribution != "Fedora"
|
|
||||||
|
|
||||||
- name: Enable nginx:124 module
|
- name: Enable nginx:124 module
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
argv:
|
argv:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue