Prepare 0.23.0 release

This commit is contained in:
alessfg 2022-02-16 19:13:13 +01:00
parent 8bd37716ca
commit 9044d8b594
No known key found for this signature in database
GPG Key ID: 7E5B134EEDC42A56
3 changed files with 8 additions and 23 deletions

View File

@ -1,11 +1,12 @@
# Changelog
## 0.23.0 (Unreleased)
## 0.23.0 (February 16, 2022)
BREAKING CHANGES:
* CentOS 8 has reached EoL and has thus been removed from the list of supported platforms.
* The NGINX Plus `cookie-flag` module is no longer supported as of R26 and has been removed.
* Remove SELinux parameters deprecated since `0.17`.
FEATURES:

View File

@ -1,9 +1,9 @@
---
- name: Check for build tools
block:
- name: (CentOS/RHEL 8) Setup Python 3
- name: (RHEL 8) Setup Python 3
block:
- name: (CentOS/RHEL 8) Install Python 3
- name: (RHEL 8) Install Python 3
yum:
name:
- python3
@ -11,7 +11,7 @@
- python3-devel
update_cache: true
- name: (Centos/RHEL 8) Set Python 3 as default
- name: (RHEL 8) Set Python 3 as default
alternatives:
name: python
path: /usr/bin/python3
@ -20,7 +20,7 @@
- ansible_facts['os_family'] == "RedHat"
- ansible_facts['distribution_major_version'] is version('8', '==')
- name: (Centos/RHEL) Install build tools
- name: (CentOS/RHEL) Install build tools
yum:
name:
- "@Development tools"
@ -158,7 +158,7 @@
- not nginx_install_source_pcre | bool
- not ansible_check_mode | bool
- name: (Centos/RHEL) Install ZLib dependency from package
- name: (CentOS/RHEL) Install ZLib dependency from package
yum:
name: zlib-devel
update_cache: true

View File

@ -8,7 +8,7 @@
- setools
when: ansible_facts['distribution_major_version'] is version('8', '!=')
- name: (CentOS/RHEL 8) Install dependencies
- name: (RHEL 8) Install dependencies
yum:
name:
- libselinux-utils
@ -34,22 +34,6 @@
state: true
persistent: true
- name: (DEPRECATED) Allow SELinux TCP connections on status ports
seport:
ports: "{{ nginx_status_port }}"
proto: tcp
setype: http_port_t
state: present
when: nginx_status_port is defined
- name: (DEPRECATED) Allow SELinux TCP connections on Rest API ports
seport:
ports: "{{ nginx_rest_api_port }}"
proto: tcp
setype: http_port_t
state: present
when: nginx_rest_api_port is defined
- name: Allow SELinux TCP connections on specific ports
seport:
ports: "{{ nginx_selinux_tcp_ports }}"