Skip to content

Commit

Permalink
fix: Run Ansible versions validation tasks on check mode (#841)
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Thietard <[email protected]>
Co-authored-by: Alessandro Fael Garcia <[email protected]>
  • Loading branch information
Al-thi and alessfg authored Jan 10, 2025
1 parent 52a6fbe commit 87e3ff2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.25.1

BUG FIXES:

- Ansible and Jinja software versions validation tasks in ansible check mode.

## 0.25.0 (Nov 28, 2024)

BREAKING CHANGES:
Expand Down
2 changes: 2 additions & 0 deletions tasks/validate/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
changed_when: false
delegate_to: localhost
become: false
check_mode: false

- name: Verify that you are using a supported Jinja2 version on your Ansible host
ansible.builtin.assert:
Expand All @@ -30,6 +31,7 @@
changed_when: false
delegate_to: localhost
become: false
check_mode: false

- name: Verify that the 'community.general' Ansible collection is installed on your Ansible host
ansible.builtin.assert:
Expand Down

0 comments on commit 87e3ff2

Please sign in to comment.