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

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

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, #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



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

attribute :executable

#from_pathString?

Returns The local directory from where to install.

Returns:

  • (String, nil)

    The local directory from where to install



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

attribute :from_path

#installdepsBoolean?

Returns Only install dependencies.

Returns:

  • (Boolean, nil)

    Only install dependencies



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

attribute :installdeps

#locallibBoolean?

Returns Specify the install base to install modules.

Returns:

  • (Boolean, nil)

    Specify the install base to install modules



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

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



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

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



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

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



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

attribute :name

#notestBoolean?

Returns Do not run unit tests.

Returns:

  • (Boolean, nil)

    Do not run unit tests



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

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.



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

attribute :system_lib

#versionBoolean?

Returns minimum version of perl module to consider acceptable.

Returns:

  • (Boolean, nil)

    minimum version of perl module to consider acceptable



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

attribute :version