diff --git a/CHANGELOG.md b/CHANGELOG.md index 4521f21..57d207d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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: diff --git a/tasks/opensource/install-source.yml b/tasks/opensource/install-source.yml index 4ce008a..032c400 100644 --- a/tasks/opensource/install-source.yml +++ b/tasks/opensource/install-source.yml @@ -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 diff --git a/tasks/prerequisites/setup-selinux.yml b/tasks/prerequisites/setup-selinux.yml index 3fcbfdf..dbc40cd 100644 --- a/tasks/prerequisites/setup-selinux.yml +++ b/tasks/prerequisites/setup-selinux.yml @@ -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 }}"