I am trying to update several values under a particular Registry Key name
for example:
win_regedit:
key: HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
value: DetectionFrequency
data: 00000001
datatype: dword
win_regedit:
key: HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
value: NoAUShutdownOption
data: 00000000
datatype: dword
I know this is an inefficient way of doing it (besides it's not working due
to this error -> found a duplicate dict key (win_regedit). Using
last defined value only) and same task can be achieved with Loops, and
updated inside just one 'win_regedit' instance. Can someone help me with
how I can do this via loops?. Thanks.
--
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/430645d8-b776-47ed-8f79-6d8f8ef9ac87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.