Class: Ansible::Ruby::Modules::Flatpak_remote
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Flatpak_remote
- 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
-
#executable ⇒ String?
The path to the C(flatpak) executable to use.,By default, this module looks for the C(flatpak) executable on the path.
-
#flatpakrepo_url ⇒ String?
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).
-
#method ⇒ :system, ...
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).
-
#name ⇒ 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.
-
#state ⇒ :absent, ...
Indicates the desired package state.
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
#executable ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 16 attribute :executable |
#flatpakrepo_url ⇒ String?
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 20 attribute :flatpakrepo_url |
#method ⇒ :system, ...
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 24 attribute :method |
#name ⇒ String
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 28 attribute :name |
#state ⇒ :absent, ...
32 |
# File 'lib/ansible/ruby/modules/generated/packaging/os/flatpak_remote.rb', line 32 attribute :state |