Did you end up getting this working? I'm having the same issue with 
win_regedit

On Friday, 17 February 2017 13:32:31 UTC+10, [email protected] wrote:
>
> currently i am using power shell
> Set-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet 
> Settings\ZoneMap\' -Name 'IEHarden' -Value '0'
>
> so , i am trying this:
> - win_regedit:
>          path: 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet 
> Settings\ZoneMap\'
>          name:  IEHarden
>          data: 0
>          type: dword
>
> Error:
> "msg": "Missing required argument: key"
>
> If i debug more:
>
> Name           Used (GB)     Free (GB) Provider      Root
> ----           ---------     --------- --------      ----
> HKCR                                   Registry      HKEY_CLASSES_ROOT
> HKU                                    Registry      HKEY_USERS
> HCCC                                   Registry      HKEY_CURRENT_CONFIG
> {"msg":"Missing required argument: key","failed":true}
>
> If i change path to key then it executes, but doesn't change, output shows 
> as:
>
> "changed": false,
>     "data_changed": false,
>     "data_type_changed": false,
>     "invocation": {
>         "module_name": "win_regedit"
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5cdee61a-dcc2-4c29-8ca1-e4346023da0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to