Class: Ansible::Ruby::Modules::Layman

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_urlString?

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.

Returns:

  • (String, nil)

    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

#nameString

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)).

Returns:

  • (String)

    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.

Returns:

  • (:present, :absent, :updated, nil)

    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).

Returns:

  • (:yes, :no, nil)

    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