Class: Ansible::Ruby::Modules::Osx_defaults
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Osx_defaults
- Defined in:
- lib/ansible/ruby/modules/generated/system/osx_defaults.rb
Overview
osx_defaults allows users to read, write, and delete macOS user defaults from Ansible scripts. macOS applications and other programs use the defaults system to record user preferences and other information that must be maintained when the applications aren’t running (such as default font for new documents, or the position of an Info panel).
Instance Method Summary collapse
-
#array_add ⇒ :yes, ...
Add new elements to the array for a key which has an array as its value.
-
#domain ⇒ String?
The domain is a domain name of the form com.companyname.appname.
-
#host ⇒ String?
The host on which the preference should apply.
-
#key ⇒ String
The key of the user preference.
-
#state ⇒ :present, ...
The state of the user defaults.
-
#type ⇒ :array, ...
The type of value to write.
-
#value ⇒ Boolean?
The value to write.
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
#array_add ⇒ :yes, ...
28 |
# File 'lib/ansible/ruby/modules/generated/system/osx_defaults.rb', line 28 attribute :array_add |
#domain ⇒ String?
12 |
# File 'lib/ansible/ruby/modules/generated/system/osx_defaults.rb', line 12 attribute :domain |
#host ⇒ String?
16 |
# File 'lib/ansible/ruby/modules/generated/system/osx_defaults.rb', line 16 attribute :host |
#key ⇒ String
20 |
# File 'lib/ansible/ruby/modules/generated/system/osx_defaults.rb', line 20 attribute :key |
#state ⇒ :present, ...
36 |
# File 'lib/ansible/ruby/modules/generated/system/osx_defaults.rb', line 36 attribute :state |
#type ⇒ :array, ...
24 |
# File 'lib/ansible/ruby/modules/generated/system/osx_defaults.rb', line 24 attribute :type |
#value ⇒ Boolean?
32 |
# File 'lib/ansible/ruby/modules/generated/system/osx_defaults.rb', line 32 attribute :value |