Class: Ansible::Ruby::Modules::Dconf
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Dconf
- Defined in:
- lib/ansible/ruby/modules/generated/system/dconf.rb
Overview
This module allows modifications and reading of dconf database. The module is implemented as a wrapper around dconf tool. Please see the dconf(1) man page for more details. Since C(dconf) requires a running D-Bus session to change values, the module will try to detect an existing session and reuse it, or run the tool via C(dbus-run-session).
Instance Method Summary collapse
-
#key ⇒ String
A dconf key to modify or read from the dconf database.
-
#state ⇒ :read, ...
The action to take upon the key/value.
-
#value ⇒ Array<String>, ...
Value to set for the specified dconf key.
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
#key ⇒ String
Returns A dconf key to modify or read from the dconf database.
13 |
# File 'lib/ansible/ruby/modules/generated/system/dconf.rb', line 13 attribute :key |
#state ⇒ :read, ...
Returns The action to take upon the key/value.
21 |
# File 'lib/ansible/ruby/modules/generated/system/dconf.rb', line 21 attribute :state |
#value ⇒ Array<String>, ...
Returns Value to set for the specified dconf key. Value should be specified in GVariant format. Due to complexity of this format, it is best to have a look at existing values in the dconf database. Required for C(state=present).
17 |
# File 'lib/ansible/ruby/modules/generated/system/dconf.rb', line 17 attribute :value |