v6 / super-duper-vault-train

🚄▼▼▼▼▼▼
GNU General Public License v3.0
20 stars 18 forks source link

Mariadb instance configuration as code #6

Closed mrodriguezio closed 6 years ago

mrodriguezio commented 6 years ago

Updating from basic shell scripting to configuration as code strategy for provisioning mariadb instance.

This is related with #1 and #3

v6 commented 6 years ago

// , I've just tested with vagrant up and remote connections from one of the VMs hosting a Vault.

Output from the brief vagrant up db test I did is at the following link:

https://0bin.net/paste/TEclEJknE1x4pe1x#eq6MFJI070leE2SL2Xbnq+hlc1R7FCz1nxvneOD0LEp

I also tested vagrant up and a remote connection with mysql --user root --password --host 192.168.13.187 and the provisional root password set up in the mariadb.yaml playbook.

A link to a page with the output for that follows:

https://0bin.net/paste/W9y1D--uB3RuBKvU#UqFRD+oxUL4pUg4eGkxM+Ql+3KQb9+5YaBLVvt1IEDy

The remote connection succeeded.

This is still not perfect, and I haven't tested this with the MariaDB secrets engine. But because this is way ahead of what I had previously, I will merge it with gratitude.

Thanks very much, @mrodriguezio !