cpanm
Collection: community.general
Full Name: parallax.community.general.cpanm
Aliases: community.general.cpanm, cpanm
Synopsis
Manage cpanm
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | The Perl module name to install (e.g. File::Basename) | ||
| notest | bool | false | Do not run unit tests | |
| mirror | string | Specifies the base URL for the CPAN mirror to use | ||
| from_path | string | The local directory from which to install the module | ||
| locallib | string | Specify the install base to modules | ||
| mirror_only | bool | false | Use the mirror’s index instead of the CPAN Meta DB | |
| installdeps | bool | false | Only install dependencies | |
| executable | string | cpanm | Override the path to the cpanm executable | |
| version | string | Minimum version of perl module to consider acceptable | ||
| system_lib | bool | false | Use the system library path for module installation |
Example
- name: Example cpanm task
cpanm:
name: <your_name>
notest: false