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/82f657f5-d1b7-4865-9adc-c62027e35a11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.