Class: Ansible::Ruby::Modules::Cpanm

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb

Overview

Manage Perl library dependencies.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#executableObject?

Returns Override the path to the cpanm executable.

Returns:

  • (Object, nil)

    Override the path to the cpanm executable



48
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 48

attribute :executable

#from_pathString?

Returns The local directory from where to install.

Returns:

  • (String, nil)

    The local directory from where to install



16
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 16

attribute :from_path

#installdeps:yes, ...

Returns Only install dependencies.

Returns:

  • (:yes, :no, nil)

    Only install dependencies



36
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 36

attribute :installdeps

#locallib:yes, ...

Returns Specify the install base to install modules.

Returns:

  • (:yes, :no, nil)

    Specify the install base to install modules



24
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 24

attribute :locallib

#mirror:yes, ...

Returns Specifies the base URL for the CPAN mirror to use.

Returns:

  • (:yes, :no, nil)

    Specifies the base URL for the CPAN mirror to use



28
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 28

attribute :mirror

#mirror_only:yes, ...

Returns Use the mirror’s index file instead of the CPAN Meta DB.

Returns:

  • (:yes, :no, nil)

    Use the mirror’s index file instead of the CPAN Meta DB



32
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 32

attribute :mirror_only

#nameString?

Returns The name of the Perl library to install. You may use the “full distribution path”, e.g. MIYAGAWA/Plack-0.99_05.tar.gz.

Returns:

  • (String, nil)

    The name of the Perl library to install. You may use the “full distribution path”, e.g. MIYAGAWA/Plack-0.99_05.tar.gz



12
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 12

attribute :name

#notest:yes, ...

Returns Do not run unit tests.

Returns:

  • (:yes, :no, nil)

    Do not run unit tests



20
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 20

attribute :notest

#system_lib:yes, ...

Returns Use this if you want to install modules to the system perl include path. You must be root or have “passwordless” sudo for this to work.,This uses the cpanm commandline option ‘–sudo’, which has nothing to do with ansible privilege escalation.

Returns:

  • (:yes, :no, nil)

    Use this if you want to install modules to the system perl include path. You must be root or have “passwordless” sudo for this to work.,This uses the cpanm commandline option ‘–sudo’, which has nothing to do with ansible privilege escalation.



44
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 44

attribute :system_lib

#version:yes, ...

Returns minimum version of perl module to consider acceptable.

Returns:

  • (:yes, :no, nil)

    minimum version of perl module to consider acceptable



40
# File 'lib/ansible/ruby/modules/generated/packaging/language/cpanm.rb', line 40

attribute :version