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


This is the sample playbook, here i am creating a reg key called "test" 
under HKLM:\SOFTWARE\myapp\Desk\ and i am adding 2 entries with items 
called hello and hi and i am assigning single same value "world" to both 
hello and hi.

i want to get the value for hello and hi from some file which will be 
stored in a repository or some url ..the value will be different for hello 
and hi ...i hope you got what i am trying to achieve

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/09996e40-3ef4-45b9-acb9-aff240c15d60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to