Skip to content

Commit

Permalink
chore: Remove platform metadata from the Ansible Galaxy role metadata (
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg authored Jul 28, 2024
1 parent 659c614 commit 664587e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
1 change: 0 additions & 1 deletion .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ offline: true
exclude_paths:
- .github/
skip_list:
- schema[meta]
- yaml[line-length]
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
20 changes: 1 addition & 19 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 664587e

Please sign in to comment.