ansible mariadb dynamic inventory
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Markus Bergholz 8286062acb return json 1 day ago
.gitignore Initial commit 1 month ago
LICENSE Initial commit 1 month ago #1 use json for configuration 4 weeks ago
init.sql rework datamodel and sql. support now multiple groups per host and one vars for multiple groups 4 weeks ago return json 1 day ago
v1.png add erd 1 month ago


ansible mariadb dynamic inventory


  • pip2 install ansible --user
  • pip3 install mariasql --user
  • mariadb >= 10.2


For some reasons, this works only for ansible which is using python 2.7.

pip2 install ansible --user

then use

~/.local/bin/ansible -vvv -i all -m ping


    "MARIADB_HOST": "my_mariadb_host", 
    "MARIADB_PORT": 3306,
    "MARIADB_USER": "my_user",
    "MARIADB_PASSWORD": "my_password",
    "MARIADB_DATABASE": "ansible"