Class: Ansible::Ruby::Modules::Win_acl

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/windows/win_acl.rb

Overview

Add or remove rights/permissions for a given user or group for the specified file, folder, registry key or AppPool identifies. If adding ACL’s for AppPool identities (available since 2.3), the Windows Feature “Web-Scripting-Tools” must be enabled.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#inherit:ContainerInherit, ...

Returns Inherit flags on the ACL rules.,Can be specified as a comma separated list, e.g. C(ContainerInherit), C(ObjectInherit).,For more information on the choices see MSDN InheritanceFlags enumeration at U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.inheritanceflags.aspx).,Defaults to C(ContainerInherit, ObjectInherit) for Directories.

Returns:



33
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 33

attribute :inherit

#pathString

Returns The path to the file or directory.

Returns:

  • (String)

    The path to the file or directory.



13
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 13

attribute :path

#propagation:InheritOnly, ...

Returns Propagation flag on the ACL rules.,For more information on the choices see MSDN PropagationFlags enumeration at U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.propagationflags.aspx).

Returns:



37
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 37

attribute :propagation

#rightsArray<String>, String

Returns The rights/permissions that are to be allowed/denied for the specified user or group for the item at C(path).,If C(path) is a file or directory, rights can be any right under MSDN FileSystemRights U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.filesystemrights.aspx).,If C(path) is a registry key, rights can be any right under MSDN RegistryRights U(msdn.microsoft.com/en-us/library/system.security.accesscontrol.registryrights.aspx).

Returns:



29
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 29

attribute :rights

#state:absent, ...

Returns Specify whether to add C(present) or remove C(absent) the specified access rule.

Returns:

  • (:absent, :present, nil)

    Specify whether to add C(present) or remove C(absent) the specified access rule.



21
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 21

attribute :state

#type:allow, :deny

Returns Specify whether to allow or deny the rights specified.

Returns:

  • (:allow, :deny)

    Specify whether to allow or deny the rights specified.



25
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 25

attribute :type

#userString

Returns User or Group to add specified rights to act on src file/folder or registry key.

Returns:

  • (String)

    User or Group to add specified rights to act on src file/folder or registry key.



17
# File 'lib/ansible/ruby/modules/generated/windows/win_acl.rb', line 17

attribute :user