Im able to get connected to rds using mysql command but when i try to run through ansible playbook i get the following error
PLAY [localhost] **************************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
failed: [localhost] => {"failed": true}
msg: unable to connect to database, check login_user and login_password are correct or ~/.my.cnf has the credentials
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/sqluser.retry
localhost : ok=1 changed=0 unreachable=0 failed=1