Hi Adham,
see https://github.com/ansible/ansible/issues/13518, the issue is tagged
"v2 milestone"
Regards,
Luca
Il giorno mercoledì 16 dicembre 2015 15:59:58 UTC+1, DomaNitro ha scritto:
>
> Starting to test my roles with ansible 2.0 dev branch
>
> Complex args breaks when using with_ but works with 1.9.X
>
> - name : Loop
>> hosts : all
>> gather_facts : yes
>> become : True
>> vars :
>> usermanage_groupsdb :
>> - name : "group1"
>> state : "present"
>> gid : "5000"
>> system : "true"
>>
>> - name : "group2"
>> state : "present"
>> gid : "5001"
>> system : "false"
>> tasks:
>> - debug: var=usermanage_groupsdb
>> - name: groups | Create groups
>> group:
>> args: "{{ item }}"
>> with_items: usermanage_groupsdb
>>
>>
> I am not sure if thats a bug or its by design. Since the complex args was
> not heavily documented.
> So I dont want to report it on github unless it is
>
>
> Regards
> Adham
>
--
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/9ddd22b5-13f5-48ce-981c-75e875caea80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.