mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-16 19:11:42 -07:00
cpanm - revamp module (#2218)
* copying from the previous branch * passing sanity - docs incomplete * adjusted parameter name * adjusted unit tests for mode=new * adjusted integration tests for mode=new * added 'russoz' to list of maintainers for cpanm * Update tests/integration/targets/cpanm/tasks/main.yml * Update tests/integration/targets/cpanm/tasks/main.yml * ensuring backward compatibility + tests * added changelog fragment * version for new parameter and adjusted example * typo and formatting * Update plugins/modules/packaging/language/cpanm.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/packaging/language/cpanm.py Co-authored-by: Felix Fontein <felix@fontein.de> * Update plugins/modules/packaging/language/cpanm.py Co-authored-by: Felix Fontein <felix@fontein.de> * multiple changes - some fixes from PR - supporting tests - integration is no longer unsupported => destructive, should run on apt- and rpm-based systems only * only run integration tests in redhat-family > v7 or debian-family Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
721589827e
commit
ec9c23437c
7 changed files with 508 additions and 101 deletions
5
changelogs/fragments/2218-cpanm-revamp.yml
Normal file
5
changelogs/fragments/2218-cpanm-revamp.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
minor_changes:
|
||||
- cpanm - rewritten using ``ModuleHelper`` (https://github.com/ansible-collections/community.general/pull/2218).
|
||||
- cpanm - honor and install specified version when running in ``new`` mode; that feature is not available in ``compatibility`` mode (https://github.com/ansible-collections/community.general/issues/208).
|
||||
deprecated_features:
|
||||
- cpanm - parameter ``system_lib`` deprecated in favor of using ``become`` (https://github.com/ansible-collections/community.general/pull/2218).
|
Loading…
Add table
Add a link
Reference in a new issue