Class: Ansible::Ruby::Modules::Layman
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Layman
- Defined in:
- lib/ansible/ruby/modules/generated/extras/packaging/os/layman.rb
Overview
Uses Layman to manage an additional repositories for the Portage package manager on Gentoo Linux. Please note that Layman must be installed on a managed node prior using this module.
Instance Method Summary collapse
-
#list_url ⇒ String?
An URL of the alternative overlays list that defines the overlay to install.
-
#name ⇒ String
The overlay id to install, synchronize, or uninstall.
-
#state ⇒ :present, ...
Whether to install (C(present)), sync (C(updated)), or uninstall (C(absent)) the overlay.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates will not be validated.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#list_url ⇒ String?
Returns An URL of the alternative overlays list that defines the overlay to install. This list will be fetched and saved under C($overlay_defs)/$#name.xml), where C(overlay_defs) is readed from the Layman’s configuration.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/layman.rb', line 15 attribute :list_url |
#name ⇒ String
Returns The overlay id to install, synchronize, or uninstall. Use ‘ALL’ to sync all of the installed overlays (can be used only when C(state=updated)).
11 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/layman.rb', line 11 attribute :name |
#state ⇒ :present, ...
Returns Whether to install (C(present)), sync (C(updated)), or uninstall (C(absent)) the overlay.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/layman.rb', line 19 attribute :state |
#validate_certs ⇒ :yes, ...
Returns If C(no), SSL certificates will not be validated. This should only be set to C(no) when no other option exists. Prior to 1.9.3 the code defaulted to C(no).
23 |
# File 'lib/ansible/ruby/modules/generated/extras/packaging/os/layman.rb', line 23 attribute :validate_certs |