Class: Ansible::Ruby::Modules::Flatpak_remote

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb

Overview

Allows users to add or remove flatpak remotes. The flatpak remotes concept is comparable to what is called repositories in other packaging formats. Currently, remote addition is only supported via I(flatpakrepo) file URLs. Existing remotes will not be updated. See the M(flatpak) module for managing flatpaks.

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

#executableString?

Returns The path to the C(flatpak) executable to use.,By default, this module looks for the C(flatpak) executable on the path.

Returns:

  • (String, nil)

    The path to the C(flatpak) executable to use.,By default, this module looks for the C(flatpak) executable on the path.



16
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 16

attribute :executable

#flatpakrepo_urlString?

Returns The URL to the I(flatpakrepo) file representing the repository remote to add.,When used with I(state=present), the flatpak remote specified under the I(flatpakrepo_url) is added using the specified installation C(method).,When used with I(state=absent), this is not required.,Required when I(state=present).

Returns:

  • (String, nil)

    The URL to the I(flatpakrepo) file representing the repository remote to add.,When used with I(state=present), the flatpak remote specified under the I(flatpakrepo_url) is added using the specified installation C(method).,When used with I(state=absent), this is not required.,Required when I(state=present).



20
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 20

attribute :flatpakrepo_url

#method:system, ...

Returns The installation method to use.,Defines if the I(flatpak) is supposed to be installed globally for the whole C(system) or only for the current C(user).

Returns:

  • (:system, :user, nil)

    The installation method to use.,Defines if the I(flatpak) is supposed to be installed globally for the whole C(system) or only for the current C(user).



24
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 24

attribute :method

#nameString

Returns The desired name for the flatpak remote to be registered under on the managed host.,When used with I(state=present), the remote will be added to the managed host under the specified I(name).,When used with I(state=absent) the remote with that name will be removed.

Returns:

  • (String)

    The desired name for the flatpak remote to be registered under on the managed host.,When used with I(state=present), the remote will be added to the managed host under the specified I(name).,When used with I(state=absent) the remote with that name will be removed.



28
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 28

attribute :name

#state:absent, ...

Returns Indicates the desired package state.

Returns:

  • (:absent, :present, nil)

    Indicates the desired package state.



32
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 32

attribute :state