Merge pull request #106 from gardar/ansible-2.15

minor: Add ansible 2.15 support.
fixes: #103
This commit is contained in:
gardar 2023-05-15 23:11:37 +00:00 committed by GitHub
commit cbdb1b8c27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 49 deletions

View file

@ -7,6 +7,7 @@ on:
- edited
- reopened
- synchronize
- labeled
workflow_dispatch:
env:
@ -38,6 +39,8 @@ jobs:
cmd: yq -o json -I=0 '.requires_ansible | split(",") | .[] |= sub("(.*?)(\d+\.\d+)(.*)"; "stable-${2}")' meta/runtime.yml
ansible-test-sanity:
if: |
!github.event.label
uses: ./.github/workflows/ansible-test-sanity.yml
needs:
- ansible-lint
@ -68,10 +71,11 @@ jobs:
since_last_remote_commit: "true"
- name: Discover role tests
if: steps.changed-roles.outputs.any_changed == 'true'
id: set-molecule-tests
run: |
echo tests="[`for role in ${{ steps.changed-roles.outputs.all_changed_and_modified_files }}; do
roles=${{ steps.changed-roles.outputs.all_changed_and_modified_files }}
roles+=${{ github.event.label.name }}
echo tests="[`for role in $roles; do
for test in $(find tests/integration/targets -maxdepth 1 -mindepth 1 -type d -iname "molecule-${role}-*" -printf "%f\n"); do
echo '{"test":\"'"${test}"'\","name":\"'"${test#*-}\"'"}';
done

View file

@ -1,115 +1,116 @@
---
ancestor: null
releases:
0.0.1:
changes:
major_changes:
- Initial Release
- Initial Release
release_date: '2023-02-17'
0.0.3:
release_date: '2023-03-02'
0.1.0:
changes:
bugfixes:
- 'fix: Force push git changelogs (https://github.com/prometheus-community/ansible/pull/36)'
- 'fix: Remove unnecessary dependency on jmespath (https://github.com/prometheus-community/ansible/pull/22)'
- 'fix: ansible 2.9 workaround for galaxy install from git (https://github.com/prometheus-community/ansible/pull/37)'
- 'fix: avoid installing changelog tools when testing (https://github.com/prometheus-community/ansible/pull/34)'
- 'fix: grab dependencies from github to avoid galaxy timeouts (https://github.com/prometheus-community/ansible/pull/33)'
- 'fix: Force push git changelogs (https://github.com/prometheus-community/ansible/pull/36)'
- 'fix: Remove unnecessary dependency on jmespath (https://github.com/prometheus-community/ansible/pull/22)'
- 'fix: ansible 2.9 workaround for galaxy install from git (https://github.com/prometheus-community/ansible/pull/37)'
- 'fix: avoid installing changelog tools when testing (https://github.com/prometheus-community/ansible/pull/34)'
- 'fix: grab dependencies from github to avoid galaxy timeouts (https://github.com/prometheus-community/ansible/pull/33)'
minor_changes:
- 'feat: Allow grabbing binaries and checksums from a custom url/mirror (https://github.com/prometheus-community/ansible/pull/28)'
- 'feat: Allow grabbing binaries and checksums from a custom url/mirror (https://github.com/prometheus-community/ansible/pull/28)'
removed_features:
- 'removed: remove lint from molecule to avoid repetition (https://github.com/prometheus-community/ansible/pull/35)'
- 'removed: remove lint from molecule to avoid repetition (https://github.com/prometheus-community/ansible/pull/35)'
trivial:
- 'fix: correct workflow triggers and writable permissions (https://github.com/prometheus-community/ansible/pull/32)'
- 'fix: use workflow trigger that gives writable token (https://github.com/prometheus-community/ansible/pull/29)'
- 'fix: writable token in all pull request workflows (https://github.com/prometheus-community/ansible/pull/30)'
- 'fix: correct workflow triggers and writable permissions (https://github.com/prometheus-community/ansible/pull/32)'
- 'fix: use workflow trigger that gives writable token (https://github.com/prometheus-community/ansible/pull/29)'
- 'fix: writable token in all pull request workflows (https://github.com/prometheus-community/ansible/pull/30)'
release_date: '2023-03-02'
0.1.1:
changes:
trivial:
- 'docs: Add gardar as a maintainer (https://github.com/prometheus-community/ansible/pull/39)'
- 'docs: Add gardar as a maintainer (https://github.com/prometheus-community/ansible/pull/39)'
release_date: '2023-03-03'
0.1.2:
changes:
trivial:
- 'packaging: publish on ansible galaxy on release (https://github.com/prometheus-community/ansible/pull/41)'
- 'packaging: publish on ansible galaxy on release (https://github.com/prometheus-community/ansible/pull/41)'
release_date: '2023-03-04'
0.1.3:
changes:
trivial:
- 'packaging: Fix publish action version (https://github.com/prometheus-community/ansible/pull/42)'
- 'packaging: Fix publish action version (https://github.com/prometheus-community/ansible/pull/42)'
release_date: '2023-03-04'
0.1.4:
changes:
trivial:
- 'docs: add argument specs to roles (https://github.com/prometheus-community/ansible/pull/27)'
- 'docs: add argument specs to roles (https://github.com/prometheus-community/ansible/pull/27)'
release_date: '2023-03-05'
0.1.5:
changes:
bugfixes:
- 'fix: follow PEP 440 standard for supported ansible versions (https://github.com/prometheus-community/ansible/pull/46)'
- 'fix: various role argument specs (https://github.com/prometheus-community/ansible/pull/50)'
- 'fix: follow PEP 440 standard for supported ansible versions (https://github.com/prometheus-community/ansible/pull/46)'
- 'fix: various role argument specs (https://github.com/prometheus-community/ansible/pull/50)'
trivial:
- 'docs: Remove references to to previous named ansible collection cloudalchemy
(https://github.com/prometheus-community/ansible/pull/44)'
- 'refactor: move yamllint cfg to standard path (https://github.com/prometheus-community/ansible/pull/47)'
- 'docs: Remove references to to previous named ansible collection cloudalchemy
(https://github.com/prometheus-community/ansible/pull/44)'
- 'refactor: move yamllint cfg to standard path (https://github.com/prometheus-community/ansible/pull/47)'
release_date: '2023-03-05'
0.2.0:
changes:
bugfixes:
- 'fix: Fix typo on Install selinux python packages for RedHat family (https://github.com/prometheus-community/ansible/pull/57)'
- 'fix: Fix typo on Install selinux python packages for RedHat family (https://github.com/prometheus-community/ansible/pull/57)'
minor_changes:
- 'feat: add systemd exporter role (https://github.com/prometheus-community/ansible/pull/62)'
- 'feat: add systemd exporter role (https://github.com/prometheus-community/ansible/pull/62)'
removed_features:
- 'removed: community.crypto is only needed when testing (https://github.com/prometheus-community/ansible/pull/56)'
- 'removed: community.crypto is only needed when testing (https://github.com/prometheus-community/ansible/pull/56)'
trivial:
- 'refactor: Disable line-length check in arguments_specs (https://github.com/prometheus-community/ansible/pull/58)'
- 'refactor: avoid using command module for systemd version fact (https://github.com/prometheus-community/ansible/pull/52)'
- 'test: fix: 2.12+ test requirements install (https://github.com/prometheus-community/ansible/pull/61)'
- 'refactor: Disable line-length check in arguments_specs (https://github.com/prometheus-community/ansible/pull/58)'
- 'refactor: avoid using command module for systemd version fact (https://github.com/prometheus-community/ansible/pull/52)'
- 'test: fix: 2.12+ test requirements install (https://github.com/prometheus-community/ansible/pull/61)'
release_date: '2023-03-08'
0.2.1:
changes:
bugfixes:
- 'fix: policycoreutils python package name (https://github.com/prometheus-community/ansible/pull/63)'
- 'fix: policycoreutils python package name (https://github.com/prometheus-community/ansible/pull/63)'
trivial:
- 'refactor: underscore variable prefix should be reserved... (https://github.com/prometheus-community/ansible/pull/65)'
- 'refactor: underscore variable prefix should be reserved... (https://github.com/prometheus-community/ansible/pull/65)'
release_date: '2023-03-13'
0.3.0:
changes:
bugfixes:
- 'fix: policycoreutils python package name (https://github.com/prometheus-community/ansible/pull/63)'
- 'fix: policycoreutils python package name (https://github.com/prometheus-community/ansible/pull/63)'
minor_changes:
- 'feat: Add mysqld_exporter role (https://github.com/prometheus-community/ansible/pull/45)'
- 'feat: Add mysqld_exporter role (https://github.com/prometheus-community/ansible/pull/45)'
trivial:
- Fixup version bumper job (https://github.com/prometheus-community/ansible/pull/67)
- 'refactor: underscore variable prefix should be reserved... (https://github.com/prometheus-community/ansible/pull/65)'
- 'fix version bumper job (https://github.com/prometheus-community/ansible/pull/67)'
- 'refactor: underscore variable prefix should be reserved... (https://github.com/prometheus-community/ansible/pull/65)'
release_date: '2023-03-14'
0.3.1:
changes:
bugfixes:
- 'fix: Don''t log config deployments (https://github.com/prometheus-community/ansible/pull/73)'
- 'fix: correct quotation of flags in systemd config file (https://github.com/prometheus-community/ansible/pull/71)'
- 'fix: version bumper action (https://github.com/prometheus-community/ansible/pull/75)'
- 'fix: Don''t log config deployments (https://github.com/prometheus-community/ansible/pull/73)'
- 'fix: correct quotation of flags in systemd config file (https://github.com/prometheus-community/ansible/pull/71)'
- 'fix: version bumper action (https://github.com/prometheus-community/ansible/pull/75)'
trivial:
- 'docs: Quote value latest to be explicit about the possible value for node_exporter_version
(https://github.com/prometheus-community/ansible/pull/43)'
- 'docs: add workflow for auto generating ansible docs (https://github.com/prometheus-community/ansible/pull/69)'
- 'docs: Quote value latest to be explicit about the possible value for node_exporter_version
(https://github.com/prometheus-community/ansible/pull/43)'
- 'docs: add workflow for auto generating ansible docs (https://github.com/prometheus-community/ansible/pull/69)'
release_date: '2023-03-14'
0.4.0:
changes:
bugfixes:
- 'fix: meta-runtime now needs minor in version string (https://github.com/prometheus-community/ansible/pull/84)'
- 'fix: meta-runtime now needs minor in version string (https://github.com/prometheus-community/ansible/pull/84)'
minor_changes:
- 'enhancement: add `skip_install` variables to various roles (https://github.com/prometheus-community/ansible/pull/74)'
- 'enhancement: support ansible-vaulted basic auth passwords (https://github.com/prometheus-community/ansible/pull/83)'
- 'enhancement: add `skip_install` variables to various roles (https://github.com/prometheus-community/ansible/pull/74)'
- 'enhancement: support ansible-vaulted basic auth passwords (https://github.com/prometheus-community/ansible/pull/83)'
trivial:
- 'docs: avoid maintaining variable documentation in many places (https://github.com/prometheus-community/ansible/pull/85)'
- 'docs: avoid maintaining variable documentation in many places (https://github.com/prometheus-community/ansible/pull/85)'
release_date: '2023-03-26'
0.4.1:
changes:
bugfixes:
- 'fix: add "become: true" to snmp_exporter handlers (https://github.com/prometheus-community/ansible/pull/99)'
- 'fix: pass token to github api for higher ratelimit (https://github.com/prometheus-community/ansible/pull/91)'
- 'fix: replace eol platforms with current (https://github.com/prometheus-community/ansible/pull/53)'
- 'fix: tags support for included tasks (https://github.com/prometheus-community/ansible/pull/87)'
- 'fix: add "become: true" to snmp_exporter handlers (https://github.com/prometheus-community/ansible/pull/99)'
- 'fix: pass token to github api for higher ratelimit (https://github.com/prometheus-community/ansible/pull/91)'
- 'fix: replace eol platforms with current (https://github.com/prometheus-community/ansible/pull/53)'
- 'fix: tags support for included tasks (https://github.com/prometheus-community/ansible/pull/87)'
release_date: '2023-04-26'

View file

@ -1,2 +1,2 @@
---
requires_ansible: "~=2.9.0,~=2.10.0,~=2.11.0,~=2.12.0,~=2.13.0,~=2.14.0"
requires_ansible: "~=2.9.0,~=2.10.0,~=2.11.0,~=2.12.0,~=2.13.0,~=2.14.0,~=2.15.0"