Skip to content

Commit 450e464

Browse files
authored
fix: Properly check Ansible collections in check mode (#558)
1 parent 32491cf commit 450e464

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BUG FIXES:
1212
- Fix the default path for the stream template deployment location.
1313
- Fix incompatibility when using the `listen` directive and setting both the `quic` and `so_keepalive` parameters.
1414
- Correct cleanup error when `nginx_config_cleanup_paths` is not defined.
15-
- Disable check_mode for validation task `jinja2_version`.
15+
- Disable check_mode for `jinja2_version` and Ansible collections validation tasks.
1616
- The default PID path has changed as of NGINX 1.27.5 and 1.28.0.
1717
- NGINX `set_real_ip_from` directive template parameter should be a list.
1818

tasks/validate/validate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
ansible.builtin.command: ansible-galaxy collection list
3333
register: collection_list
3434
changed_when: false
35+
check_mode: false
3536

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

0 commit comments

Comments
 (0)