ldejager / mariadb-galera-cluster Goto Github PK
View Code? Open in Web Editor NEWMariaDB Galera Cluster deployment with terraform and ansible.
License: GNU General Public License v2.0
MariaDB Galera Cluster deployment with terraform and ansible.
License: GNU General Public License v2.0
Hello, the document seems to miss a part of the deployment. I downloaded and ran the terraform-inventory and it works fine in terms of calling it. However when using the deploy/playbook.yml export command im getting a parse failed error from the tfstate file? Is this something you have seen before? The terraform side itself works great. The disconnect is when I try to create the playbook.yml file using terraform-inventory. Im getting the following error just for your view:
$: ansible-playbook --inventory-file=terraform.tfstate deploy/playbook.yml
[WARNING]: * Failed to parse /*
/terraform-mariadb-cluster/terraform.tfstate with ini plugin:
*/terraform-mariadb-
cluster/terraform.tfstate:2: Expected key=value host variable assignment, got:
3,
[WARNING]: Unable to parse *
/terraform-mariadb-cluster/terraform.tfstate as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
ERROR! playbooks must be a list of plays
However when I run the terraform-inventory --list terraform.tfstate I do get the following:
{"%4":["54.82.253.204","54.173.45.87","54.152.14.48"],"db":["54.82.253.204","54.173.45.87","54.152.14.48"],"db.0":["54.82.253.204"],"db.1":["54.173.45.87"],"db.2":["54.152.14.48"],"dc_aws":["54.82.253.204","54.173.45.87","54.152.14.48"],"name_db-01":["54.82.253.204"],"name_db-02":["54.173.45.87"],"name_db-03":["54.152.14.48"],"role_dbhost":["54.82.253.204","54.173.45.87","54.152.14.48"],"sshuser*":["54.82.253.204","54.173.45.87","54.152.14.48"],"type_aws_instance":["54.82.253.204","54.173.45.87","54.152.14.48"]}
Create private network (Digital Ocean) and utilize that instead of the external network interface
Enhance the Makefile to perform as much as possible with little intervention if any.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.