This is already a known thing: https://github.com/ansible/ansible/issues/6854
On Fri, Jul 18, 2014 at 5:16 AM, Nico K. <[email protected]> wrote: > Minor addition: > > This only happens if the 'groups' content is the same as 'group'. > > Op vrijdag 18 juli 2014 11:13:30 UTC+2 schreef Nico K.: > >> Hi, >> >> Looks like I've run into a bug: >> >> - name: create users >> user: name="{{ item.owner|default(item.name) }}" >> group="{{item.group|default(item.name)}}" groups="aap" >> with_items: >> - "{{ user_list }}" >> >> Will always report 'changed', if I take out the 'groups' it works as >> expected. >> >> Regards, >> Nico >> > -- > 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/175146f9-3752-4533-90b6-91537560ccde%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/175146f9-3752-4533-90b6-91537560ccde%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CA%2BnsWgxUn4nHASmCmdkiY7B4h8wyNmgeby8SZDc2qxsWnN6eQA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
