Hi, I'm trying to create a playbook that I can use to bring a windows server up to the latest secure hardening standards and I'm stuck with configuring Ciphers. An example is as follows:
ansible {HOST} -m win_regedit -a "key='HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 128/128' value=Enabled data=00000000 datatype=dword state=present" -vvv
As you can see the Key name is "RC2 128/128" and the issue I'm encountering is Powershell interprets the / as a new key, irrespective of the direction.
Has anyone managed to create a playbook to do this? I've got some alternatives (merging a registry file etc) but they aren't as clean. From the research I've done it looks like i'm going to need to user the powershell CreateSubKey function.
Thanks,