diff --git a/.ansible-lint b/.ansible-lint index 04a344e..2710506 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -3,5 +3,4 @@ offline: true exclude_paths: - .github/ skip_list: - - schema[meta] - yaml[line-length] diff --git a/CHANGELOG.md b/CHANGELOG.md index 75ff0ca..4d156ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ TESTS: - Add Molecule tests covering common NGINX use cases (web server, reverse proxy), enabling the NGINX stub status metrics, and NGINX Plus API and live metrics dashboard. - Update the platforms used in the various Molecule scenarios. - Use the local role name (`ansible-role-nginx-config`) instead of the fully qualified role name (`nginxinc.nginx_config`) in Molecule to ensure tests always work as intended in environments where the role has been already installed beforehand. +- Bump the minimum version of Ansible supported on Ansible Galaxy to `2.16`. +- Remove platform metadata from the Ansible Galaxy role metadata since platforms are no longer supported in Ansible Galaxy NG. - Update GitHub Actions to Ubuntu 24.04. - Switch GitHub Actions from using tags to release hashes. diff --git a/README.md b/README.md index b71d877..fcc3bb0 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ This role configures NGINX Open Source and NGINX Plus on your target host. ### Ansible -- This role is developed and tested with [maintained](https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html) versions of Ansible core (above `2.12`). +- This role is developed and tested with [maintained](https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html) versions of Ansible core (above `2.16`). - When using Ansible core, you will also need to install the following collections: ```yaml diff --git a/meta/main.yml b/meta/main.yml index e402d36..658c545 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -7,25 +7,7 @@ galaxy_info: license: Apache License, Version 2.0 - min_ansible_version: '2.12' - - platforms: - - name: Alpine - versions: [all] - - name: Amazon Linux - versions: ['2', '2023'] - - name: Debian - versions: [bullseye, bookworm] - - name: EL - versions: ['8', '9'] - - name: FreeBSD - versions: ['12.1', '12.2', '12.3', '12.4', '13.0', '13.1', '13.2'] - - name: OracleLinux - versions: ['7', '8', '9'] - - name: Ubuntu - versions: [focal, jammy, lunar] - - name: SLES - versions: ['12', '15'] + min_ansible_version: '2.16' galaxy_tags: - nginx