a bit of improvement 
---
 - hosts: web
   tasks:
    - name: Create and add reg entries
      win_regedit:
       path: HKLM:\SOFTWARE\myapp\Desk\Test
       entry: "{{ item.regkey }}"
       data: "{{ item.regvalue}}"
       type: string
       state: present
      with_items:
         - regkey: hello
           regvalue: world
         - regkey: hi
           regvalue: universe

but, i want to fetch regkey as well as regvalue from a url...i.e i want to 
create a file with details like hello:world, hi:universe and i want ansible 
to take left side as keys and right side as values and create reg entries 
and store the values...

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/b265c402-7c48-4dfe-a544-3020fa357702%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to