Greetings!
I am new to ansible and im trying to install mysql-server  below is my 
playbook [im in a vmware10 using two centos 6.5 x64 machines one as 
ansible-Node and another as client]

---
- hosts: webservers
  gather_facts: False
    - name: install apache
      yum: name=httpd state=latest
   
* - name: install mysql      yum: name=mysql-server state=installed *

*    - name: Install MySQL-python      yum: name=MySQL-python 
state=installed*

   
* - name: Ensure MySQL is running      service: name=mysqld state=started 
enabled=true*

the installation goes fine, but when i go to client node and try to do 
mysql_secure_installation  , even though i havent set any password , it 
shows access denied / password incorrect
[root@monitor1 ~]# service mysqld restart
Starting mysqld:                                           [  OK  ]
[root@monitor1 ~]# mysql_secure_installation 
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: NO)
 
Please help

-- 
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/585f5db7-0a84-458d-a728-2e988640e5a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to