Class: Ansible::Ruby::Modules::Win_security_policy

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#keyString

Returns The ini key of the section or policy name to modify.,The module will return an error if this key is invalid.

Returns:

  • (String)

    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

#sectionString

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’.

Returns:

  • (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’



12
# File 'lib/ansible/ruby/modules/generated/windows/win_security_policy.rb', line 12

attribute :section

#valueString, 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.

Returns:

  • (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.



20
# File 'lib/ansible/ruby/modules/generated/windows/win_security_policy.rb', line 20

attribute :value