mirror of https://github.com/ansible/ansible.git
Fix pip idempotence in check mode
PIP package names must be case insensitive, and must consider hyphens and underscores to be equivalent (https://www.python.org/dev/peps/pep-0426/#name), because of this the module didn't work correctly in check mode. For example if the passed package name had a different case or an underscore instead of a hyphen (or the other way around) compared to the installed package, check mode reported as changed, even though packages were installed. Now the module ignores case and hyphens/underscores in package names, so check mode works correctly.pull/48385/head
parent
96c2375692
commit
b89b688d52
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "pip - idempotence in check mode now works correctly."
|
Loading…
Reference in New Issue