Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove platform metadata from the Ansible Galaxy role metadata #447

Merged
merged 4 commits into from
Jul 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading