# KodeKloud Project

**URL:** <https://forum.ansible.com/t/kodekloud-project/33845>\
**Category:** Ansible Project\
**Tags:** ubuntu, galaxy-ng\
**Created:** [September 18, 2020, 5:36am UTC](https://forum.ansible.com/t/kodekloud-project/33845 "2020-09-18T05:36:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Melvin\_C\_Varghese](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Melvin\_C\_Varghese](https://forum.ansible.com/u/Melvin_C_Varghese)\
**Post date:** [September 18, 2020, 5:36am UTC](https://forum.ansible.com/t/kodekloud-project/33845/1 "2020-09-18T05:36:30Z")

</div>

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/](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/](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/](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…

---

<div class="post-metadata">

**Author:** ![Melvin\_C\_Varghese](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@Melvin\_C\_Varghese](https://forum.ansible.com/u/Melvin_C_Varghese)\
**Post date:** [September 20, 2020, 5:04am UTC](https://forum.ansible.com/t/kodekloud-project/33845/2 "2020-09-20T05:04:41Z")

</div>

Please help!!!
