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/8d3203da-957f-4de7-86e9-d306ba5b9aea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to