blackstar257.perl

Ansible Role: Perl

Ansible Role Build Status

This Ansible role helps you install Perl and manage Perl modules using cpanm, a tool to install modules from CPAN.

Requirements

You need Ansible version 2.8 or higher to use this role.

Role Variables

Name Default Description
perl_cpanm_version 1.7907 The version of cpanm to use
perl_cpanm_path /usr/local/bin/cpanm The location of the cpanm script
perl_cpanm_modules [] List of Perl modules to install using cpanm
perl_cpanm_installdeps false Set to true to install dependencies for the modules
perl_cpanm_notests false Set to true to skip running tests for the modules

Dependencies

This role does not have any dependencies.

Example Playbook

- hosts: all
  roles:
    - role: blackstar257.perl
      perl_cpanm_modules:
        - JSON

License

This project is licensed under the MIT License. Check the LICENSE file for more details.

Author Information

Originally created by Pieterjan Vandaele and later modified by blackstar257.

Informazioni sul progetto

Manage perl installation and provides cpan_module, to install modules from CPAN.

Installa
ansible-galaxy install blackstar257.perl
Licenza
mit
Download
6.6k
Proprietario