Class: Ansible::Ruby::Modules::Git_config
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Git_config
- Defined in:
- lib/ansible/ruby/modules/generated/extras/source_control/git_config.rb
Instance Method Summary collapse
-
#list_all ⇒ Boolean?
List all settings (optionally limited to a given I(scope)).
-
#name ⇒ String?
The name of the setting.
-
#repo ⇒ String?
Path to a git repository for reading and writing values from a specific repo.
-
#scope ⇒ :local, ...
Specify which scope to read/set values from.
-
#value ⇒ String?
When specifying the name of a single setting, supply a value to set that setting to the given value.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#list_all ⇒ Boolean?
Returns List all settings (optionally limited to a given I(scope)).
10 |
# File 'lib/ansible/ruby/modules/generated/extras/source_control/git_config.rb', line 10 attribute :list_all |
#name ⇒ String?
Returns The name of the setting. If no value is supplied, the value will be read from the config if it has been set.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/source_control/git_config.rb', line 14 attribute :name |
#repo ⇒ String?
Returns Path to a git repository for reading and writing values from a specific repo.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/source_control/git_config.rb', line 18 attribute :repo |
#scope ⇒ :local, ...
Returns Specify which scope to read/set values from. This is required when setting config values. If this is set to local, you must also specify the repo parameter. It defaults to system only when not using I(list_all)=yes.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/source_control/git_config.rb', line 22 attribute :scope |
#value ⇒ String?
Returns When specifying the name of a single setting, supply a value to set that setting to the given value.
26 |
# File 'lib/ansible/ruby/modules/generated/extras/source_control/git_config.rb', line 26 attribute :value |