Hi All,

I am trying to deploy a LAMP stack using Ansible to 2 targets
So I have 3 instances on Google Cloud:
ansible-controller   10.140.0.5
ansible-target1       10.140.0.6
ansible-target2       10.140.0.7

*I get an error when I try to connect to the database.*

Error: https://paste.ubuntu.com/p/cM3vr8cz3P/

I installed the below on the controller:

ansible-galaxy collection install community.mysql

Here is the playbook for the DB server ansible-target2: ecommapp-db.yml  

https://paste.ubuntu.com/p/CxYHmZ3kpF/

Here is the playbook for the web server ansible-target1:  ecommapp-web.yml 

https://paste.ubuntu.com/p/j6hcCYNK8F/

Please help me set this up. KodeKloud did not respond so far.

Also plz tell me how to set the mariadb root password before connecting. 

Many thanks... 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/20fcd107-1575-48bf-8a12-28f97301db67n%40googlegroups.com.

Reply via email to