Class: Ansible::Ruby::Modules::Easy_install

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/packaging/language/easy_install.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 The explicit executable or a pathname to the executable to be used to run easy_install for a specific version of Python installed in the system. For example C(easy_install-3.3), if there are both Python 2.7 and 3.3 installations in the system and you want to run easy_install for the Python 3.3 installation.

Returns:

  • (Object, nil)

    The explicit executable or a pathname to the executable to be used to run easy_install for a specific version of Python installed in the system. For example C(easy_install-3.3), if there are both Python 2.7 and 3.3 installations in the system and you want to run easy_install for the Python 3.3 installation.



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

attribute :executable

#nameString

Returns A Python library name.

Returns:

  • (String)

    A Python library name



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

attribute :name

#state:present, ...

Returns The desired state of the library. C(latest) ensures that the latest version is installed.

Returns:

  • (:present, :latest, nil)

    The desired state of the library. C(latest) ensures that the latest version is installed.



29
# File 'lib/ansible/ruby/modules/generated/core/packaging/language/easy_install.rb', line 29

attribute :state

#virtualenvString?

Returns an optional I(virtualenv) directory path to install into. If the I(virtualenv) does not exist, it is created automatically.

Returns:

  • (String, nil)

    an optional I(virtualenv) directory path to install into. If the I(virtualenv) does not exist, it is created automatically



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

attribute :virtualenv

#virtualenv_commandString?

Returns The command to create the virtual environment with. For example C(pyvenv), C(virtualenv), C(virtualenv2).

Returns:

  • (String, nil)

    The command to create the virtual environment with. For example C(pyvenv), C(virtualenv), C(virtualenv2).



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

attribute :virtualenv_command

#virtualenv_site_packages:yes, ...

Returns Whether the virtual environment will inherit packages from the global site-packages directory. Note that if this setting is changed on an already existing virtual environment it will not have any effect, the environment must be deleted and newly created.

Returns:

  • (:yes, :no, nil)

    Whether the virtual environment will inherit packages from the global site-packages directory. Note that if this setting is changed on an already existing virtual environment it will not have any effect, the environment must be deleted and newly created.



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

attribute :virtualenv_site_packages