I want to select Define this policy setting
for Microsoft network client: Digitally sign communication (always)
in the Group Policy on Windows Server with Ansible and select Disabled
radio button. The following image shows the desired result.
enter image description here
I am using the following role:
- name: Disable SMB signing
win_regedit:
path: HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
name: RequireSecuritySignature
value: 0
type: dword
state: present
Ansible plays the above role just fine and prints the following message:
TASK [active-directory : Disable SMB signing] **********************************
ok: [192.168.106.131]
However, nothing is changed on the Windows Server and the policy remains Not Defined
. Can anybody help?