Setting registry ACLs using win_acl is broken by ALL APPLICATION PACKAGES #22968
Labels
affects_2.4
This issue/PR affects Ansible v2.4
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
windows
Windows community
ISSUE TYPE
COMPONENT NAME
win_acl
ANSIBLE VERSION
CONFIGURATION
n/a
OS / ENVIRONMENT
CentOS 7 Docker Image as controller configuring a Windows Server 2016 host
SUMMARY
The ability to set ACLs in the Windows Registry (introduced in #19443) doesn't appear to work on Windows Server 2016 (and I assume Server 2012 too).
The underlying issue is the same as the filesystem problem in #20553. This was fixed by #20555 but unfortunately the code to fix it was not applies to the path which deals with setting registry ACLs
STEPS TO REPRODUCE
After configuring a valid connection to a windows server under the group
windows
, run the following command:EXPECTED RESULTS
An entry on the HKEY_LOCAL_MACHINE\SOFTWARE ACL assigning the Read permission to Administrator
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: