Hi All,

Does anyone know why the below ansible code is failing?

 - name: Add permissions to heeservers to connect to SQL
   mysql_user: name={{ mu_db_user }} password={{ mu_db_pass }} host="{{ 
item }}"  priv={{ mu_db_name }}.*:ALL state=present
   with_items: '{{groups.heeservers}}' 

The error reported is..

failed: [mu.vagrant] (item=hee.vagrant) => {"failed": true, "item": 
"hee.vagrant", "msg": "(1396, \"Operation CREATE USER failed for 
'root'@'hee.vagrant'\")"}

If I change the host from "{{ item }}" to a fixed string it works as 
expected but I dont understand why.

Thanks!
Jeff

-- 
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/1809bd75-fec3-46f3-b5bf-a2aefa1333bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to