GithubHelp home page GithubHelp logo

ldejager / mariadb-galera-cluster Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 8.0 37 KB

MariaDB Galera Cluster deployment with terraform and ansible.

License: GNU General Public License v2.0

HCL 84.07% Shell 5.93% Makefile 10.00%

mariadb-galera-cluster's People

Contributors

ldejager avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mariadb-galera-cluster's Issues

terraform-inventory issue

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"]}

Make Makefile awesome

Enhance the Makefile to perform as much as possible with little intervention if any.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.