Issue #6230
closedAnsible Check Mode does not work with ansible-pulp
Description
A quick look at the tasks in ansible-pulp that need check_mode:
- command
- shell
- script
Shows that they do not have the appropriate lines (check_mode: false
usually) (corrected this description from true) so that ansible can be run in check mode (--dry-run). i.e., the tasks that don't modify the system will not run at all, but later tasks depend on them, and will fail (or behave differently.)
Check Mode is a feature that users sometimes use, so we should fix these tasks.
https://docs.ansible.com/ansible/latest/user_guide/playbooks_checkmode.html
Our molecule-based CI does not catch this, because no part of it, not even converge, uses check_mode: https://github.com/ansible-community/molecule/issues/128
Updated by fao89 about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fao89
Updated by fao89 about 4 years ago
- Status changed from ASSIGNED to POST
Added by Fabricio Aguiar about 4 years ago
Updated by Anonymous about 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset ansible-pulp|4a807407bbce7330c50823a49fea09d68d3ce20f.
Updated by Anonymous about 4 years ago
Applied in changeset ansible-pulp3|4a807407bbce7330c50823a49fea09d68d3ce20f.
Updated by mdepaulo@redhat.com about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by bmbouter almost 4 years ago
- Category set to Installer - Moved to GitHub issues
- Tags deleted (
Pulp 3 installer)
Testing check mode
https://pulp.plan.io/issues/6230 closes #6230