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

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/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, #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



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

attribute :executable

#from_pathString?

Returns The local directory from where to install.

Returns:

  • (String, nil)

    The local directory from where to install



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

attribute :from_path

#installdepsBoolean?

Returns Only install dependencies.

Returns:

  • (Boolean, nil)

    Only install dependencies



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

attribute :installdeps

#locallibBoolean?

Returns Specify the install base to install modules.

Returns:

  • (Boolean, nil)

    Specify the install base to install modules



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

attribute :locallib

#mirrorBoolean?

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

Returns:

  • (Boolean, nil)

    Specifies the base URL for the CPAN mirror to use



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

attribute :mirror

#mirror_onlyBoolean?

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

Returns:

  • (Boolean, nil)

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



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

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



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

attribute :name

#notestBoolean?

Returns Do not run unit tests.

Returns:

  • (Boolean, nil)

    Do not run unit tests



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

attribute :notest

#system_libBoolean?

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:

  • (Boolean, 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.



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

attribute :system_lib

#versionBoolean?

Returns minimum version of perl module to consider acceptable.

Returns:

  • (Boolean, nil)

    minimum version of perl module to consider acceptable



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

attribute :version