When running mysql_user module in ansible it is showing the below error.
*ansible* version - 2.6
*mysql* version - 5.6
*yaml syntax* :-
- name: Test | mysql
mysql_user: name=test password=test host=localhost state=present
error :-
fatal: [94.130.87.130]: FAILED! => {
"changed": false,
"module_stderr": "Shared connection to 94.130.87.130 closed.\r\n",
"module_stdout": "Traceback (most recent call last):\r\n File
\"/tmp/ansible_73s74m/ansible_module_mysql_user.py\", line 206, in <module>\r\n
from ansible.module_utils.basic import AnsibleModule\r\nzlib.error: Error -2
while preparing to decompress data: inconsistent stream state\r\n",
"msg": "MODULE FAILURE",
"rc": 1
}
--
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/f635099a-e812-49d6-a09d-442117b4506e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.