Ansible role which manages Perl installation and provides cpan_module, to install modules from CPAN.
This role requires Ansible 2.8 or higher.
Name | Default | Description |
---|---|---|
perl_cpanm_version | 1.7907 | The CPAN release version |
perl_cpanm_path | /usr/local/bin/cpanm | The CPAN script location |
perl_cpanm_modules | [] | List of modules to install with cpanm |
perl_cpanm_installdeps | false | Toggle to install dependencies for packages |
perl_cpanm_notests | false | Toggle to run tests packages |
None
- hosts: all
roles:
- role: blackstar257.perl
perl_cpanm_modules:
- JSON
Licensed under the MIT License. See the LICENSE file for details.
Original Pieterjan Vandaele Forked by blackstar257