When you are using include-vars to import into the mysql-users
variable, you are creating an 'unsafe object' that Ansible uses
internally to track 'data from modules' and avoid templating them as
they can lead to security issues.

if you create a vars file with:
mysql_user:
  - name: user1
...

and use vars_files, it should work normally.

I'm going to check with the rest of the team to see if this is a
behaviour we want for include vars (it is not a 'normal module'). For
now you can use the workaround above.

----------
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/CACVha7cq1Z4zGjDD5%2BLhdYBnR_Crnb2N84fcc7i_K_dO74VFGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to