Class: Ansible::Ruby::Modules::Composer

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

Overview

Composer is a tool for dependency management in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.

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

#apcu_autoloaderSymbol?

Returns Uses APCu to cache found/not-found classes.

Returns:

  • (Symbol, nil)

    Uses APCu to cache found/not-found classes



60
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 60

attribute :apcu_autoloader

#argumentsString?

Returns Composer arguments like required package, version and so on.

Returns:

  • (String, nil)

    Composer arguments like required package, version and so on.



17
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 17

attribute :arguments

#classmap_authoritativeSymbol?

Returns Autoload classes from classmap only.,Implicitely enable optimize_autoloader.,Recommended especially for production, but can take a bit of time to run.

Returns:

  • (Symbol, nil)

    Autoload classes from classmap only.,Implicitely enable optimize_autoloader.,Recommended especially for production, but can take a bit of time to run.



56
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 56

attribute :classmap_authoritative

#commandString?

Returns Composer command like “install”, “update” and so on.

Returns:

  • (String, nil)

    Composer command like “install”, “update” and so on.



13
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 13

attribute :command

#executableObject?

Returns Path to PHP Executable on the remote host, if PHP is not in PATH.

Returns:

  • (Object, nil)

    Path to PHP Executable on the remote host, if PHP is not in PATH.



21
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 21

attribute :executable

#global_commandSymbol?

Returns Runs the specified command globally.

Returns:

  • (Symbol, nil)

    Runs the specified command globally.



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

attribute :global_command

#ignore_platform_reqsSymbol?

Returns Ignore php, hhvm, lib-* and ext-* requirements and force the installation even if the local machine does not fulfill these.

Returns:

  • (Symbol, nil)

    Ignore php, hhvm, lib-* and ext-* requirements and force the installation even if the local machine does not fulfill these.



64
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 64

attribute :ignore_platform_reqs

#no_devBoolean?

Returns Disables installation of require-dev packages (see –no-dev).

Returns:

  • (Boolean, nil)

    Disables installation of require-dev packages (see –no-dev).



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

attribute :no_dev

#no_pluginsSymbol?

Returns Disables all plugins ( see –no-plugins ).

Returns:

  • (Symbol, nil)

    Disables all plugins ( see –no-plugins ).



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

attribute :no_plugins

#no_scriptsSymbol?

Returns Skips the execution of all scripts defined in composer.json (see –no-scripts).

Returns:

  • (Symbol, nil)

    Skips the execution of all scripts defined in composer.json (see –no-scripts).



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

attribute :no_scripts

#optimize_autoloaderBoolean?

Returns Optimize autoloader during autoloader dump (see –optimize-autoloader).,Convert PSR-0/4 autoloading to classmap to get a faster autoloader.,Recommended especially for production, but can take a bit of time to run.

Returns:

  • (Boolean, nil)

    Optimize autoloader during autoloader dump (see –optimize-autoloader).,Convert PSR-0/4 autoloading to classmap to get a faster autoloader.,Recommended especially for production, but can take a bit of time to run.



52
# File 'lib/ansible/ruby/modules/generated/packaging/language/composer.rb', line 52

attribute :optimize_autoloader

#prefer_distSymbol?

Returns Forces installation from package dist even for dev versions (see –prefer-dist).

Returns:

  • (Symbol, nil)

    Forces installation from package dist even for dev versions (see –prefer-dist).



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

attribute :prefer_dist

#prefer_sourceSymbol?

Returns Forces installation from package sources when possible (see –prefer-source).

Returns:

  • (Symbol, nil)

    Forces installation from package sources when possible (see –prefer-source).



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

attribute :prefer_source

#working_dirString?

Returns Directory of your project (see –working-dir). This is required when the command is not run globally.,Will be ignored if C(global_command=true).

Returns:

  • (String, nil)

    Directory of your project (see –working-dir). This is required when the command is not run globally.,Will be ignored if C(global_command=true).



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

attribute :working_dir