ansible by default will override previous definitions with newer ones, in this case group 'all' gets loaded first and then overwritten by group1.
You can change this behavior globally using the hash_behaviour entry in ansible.cfg. Or you can name the variable differently and then use the |union filter in the task to aggregate them just for that task. -- Brian Coca -- 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/CAJ5XC8kjPPtrbAafYV5zcBBxH%2BP0UrAxp_CWcC-4zL4zjqnOjA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
