Class: Ansible::Ruby::Modules::Win_security_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_security_policy
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_security_policy.rb
Overview
Allows you to set the local security policies that are configured by SecEdit.exe.
Instance Method Summary collapse
-
#key ⇒ String
The ini key of the section or policy name to modify.,The module will return an error if this key is invalid.
-
#section ⇒ String
The ini section the key exists in.,If the section does not exist then the module will return an error.,Example sections to use are ‘Account Policies’, ‘Local Policies’, ‘Event Log’, ‘Restricted Groups’, ‘System Services’, ‘Registry’ and ‘File System’.
-
#value ⇒ String, Integer
The value for the ini key or policy name.,If the key takes in a boolean value then 0 = False and 1 = True.
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
#key ⇒ String
Returns The ini key of the section or policy name to modify.,The module will return an error if this key is invalid.
16 |
# File 'lib/ansible/ruby/modules/generated/windows/win_security_policy.rb', line 16 attribute :key |
#section ⇒ String
Returns The ini section the key exists in.,If the section does not exist then the module will return an error.,Example sections to use are ‘Account Policies’, ‘Local Policies’, ‘Event Log’, ‘Restricted Groups’, ‘System Services’, ‘Registry’ and ‘File System’.
12 |
# File 'lib/ansible/ruby/modules/generated/windows/win_security_policy.rb', line 12 attribute :section |
#value ⇒ String, Integer
Returns The value for the ini key or policy name.,If the key takes in a boolean value then 0 = False and 1 = True.
20 |
# File 'lib/ansible/ruby/modules/generated/windows/win_security_policy.rb', line 20 attribute :value |