Class: Ansible::Ruby::Modules::Easy_install
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Easy_install
- Defined in:
- lib/ansible/ruby/modules/generated/core/packaging/language/easy_install.rb
Instance Method Summary collapse
-
#executable ⇒ Object?
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.
-
#name ⇒ String
A Python library name.
-
#state ⇒ :present, ...
The desired state of the library.
-
#virtualenv ⇒ String?
An optional I(virtualenv) directory path to install into.
-
#virtualenv_command ⇒ String?
The command to create the virtual environment with.
-
#virtualenv_site_packages ⇒ :yes, ...
Whether the virtual environment will inherit packages from the global site-packages directory.
Methods inherited from Base
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
#executable ⇒ Object?
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.
26 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/language/easy_install.rb', line 26 attribute :executable |
#name ⇒ String
Returns 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.
29 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/language/easy_install.rb', line 29 attribute :state |
#virtualenv ⇒ String?
Returns 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_command ⇒ String?
Returns 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.
18 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/language/easy_install.rb', line 18 attribute :virtualenv_site_packages |