Have a look at the 'uri' module - you can use that to fetch the contents of a .json or .yml file and then register the results from the uri response and use the response values in your call to win_regedit.
Bear in mind the uri module will need to run on the controller, so use 'delegate_to: localhost' for the uri task. Hope this helps, Jon On Tuesday, April 4, 2017 at 8:12:00 AM UTC+1, Suporter wrote: > > Any replies would be appreciated > > On Wednesday, March 29, 2017 at 12:19:36 AM UTC+5:30, Suporter wrote: >> >> i want to create some reg entries and i want to pull data and value for >> it from an url..where i can edit those whenever required and when there is >> a change there , ansible should pick it and enter that in registry...is it >> possible? sorry i am new to ansible.. >> > -- 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/4bb9f787-6115-4fe3-998a-12ef5defd3f5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
