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

minor: Add ansible 2.15 support #106

Merged
merged 5 commits into from
May 15, 2023
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
8 changes: 6 additions & 2 deletions .github/workflows/ansible-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- edited
- reopened
- synchronize
- labeled
workflow_dispatch:

env:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
93 changes: 47 additions & 46 deletions changelogs/changelog.yaml
Original file line number Diff line number Diff line change
@@ -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'
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -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"