Re: [ansible-project] Loop using with_items twice

2017-07-21 Thread Anfield
Yes thats exactly what I wanted to do but I thought I had to use with_items at the bottom to provide the list that it would loop through. Thanks > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop

Re: [ansible-project] Loop using with_items twice

2017-07-21 Thread Branko Majic
On Thu, 20 Jul 2017 18:49:55 -0700 (PDT) Anfield wrote: > What is the correct way to use with_Items to loop over two files? The > playbook is failing at the 2nd task > > Getting an error - TASK [Create users from vars users] >

[ansible-project] Loop using with_items twice

2017-07-20 Thread Anfield
What is the correct way to use with_Items to loop over two files? The playbook is failing at the 2nd task Getting an error - TASK [Create users from vars users] fatal: [localhost]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid