Class: Ansible::Ruby::Modules::Apt_rpm
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Apt_rpm
- Defined in:
- lib/ansible/ruby/modules/generated/core/packaging/os/apt_rpm.rb
Instance Method Summary collapse
-
#pkg ⇒ Array<String>, String
Name of package to install, upgrade or remove.
-
#state ⇒ :absent, ...
Indicates the desired package state.
-
#update_cache ⇒ Boolean?
Update the package database first C(apt-get update).
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
#pkg ⇒ Array<String>, String
Returns name of package to install, upgrade or remove.
10 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_rpm.rb', line 10 attribute :pkg |
#state ⇒ :absent, ...
Returns Indicates the desired package state.
14 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_rpm.rb', line 14 attribute :state |
#update_cache ⇒ Boolean?
Returns update the package database first C(apt-get update).
18 |
# File 'lib/ansible/ruby/modules/generated/core/packaging/os/apt_rpm.rb', line 18 attribute :update_cache |