Class: Ansible::Ruby::Modules::Layman
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Layman
- Defined in:
- lib/ansible/ruby/modules/generated/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, fix_inclusion, #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.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/layman.rb', line 16 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)).
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/layman.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Whether to install (C(present)), sync (C(updated)), or uninstall (C(absent)) the overlay.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/layman.rb', line 20 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).
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/layman.rb', line 24 attribute :validate_certs |