Actions
Bug #35049
closedAnsible run failing with syntax error, e.g. the module is not found (missing collection) it still returns 0 exit code
Difficulty:
Triaged:
No
Bugzilla link:
Description
I used the authorized_key task with ansible 2.12, it's no longer built in. I didn't have the ansible.posix collection installed. Also I didn't prefix that task with the ansible.posix namespace. The ansible run failed with syntax error but the exit code was still 0, meaning the job looked like succeeded.
Updated by Adam Ruzicka almost 2 years ago
- Has duplicate Bug #35234: execution of roles with missing modules doesn't fail the execution added
Updated by Adam Ruzicka almost 2 years ago
- Status changed from New to Assigned
- Assignee set to Adam Ruzicka
Updated by The Foreman Bot almost 2 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/smart_proxy_ansible/pull/65 added
Updated by The Foreman Bot over 1 year ago
- Fixed in Releases smart_proxy_ansible-3.4.0 added
Updated by Anonymous over 1 year ago
- Status changed from Ready For Testing to Closed
Applied in changeset smart_proxy_ansible|e79034001916eb458272384a737940b70c4ffec5.
Actions