1
0
forked from finallycoffee/base
finallycoffee.base/roles/mariadb
2024-10-29 17:49:00 +01:00
..
defaults refactor(mariadb): add state parameter and split container image arguments 2024-10-27 16:04:07 +01:00
tasks meta: deprecate mariadb role 2024-10-29 17:49:00 +01:00
vars feat(mariadb): add ansible role for deployment 2023-02-06 21:11:27 +01:00
README.md chore(mariadb): add role-README, update collection README 2023-07-26 20:04:50 +02:00

finallycoffee.base.mariadb ansible role

This role deploys a MariaDB instance in a docker container.

Usage

The role expects the following variables to be populated with values and/or secrets:

mariadb_root_password: #mariadb root password
mariadb_database: # name of the database to create
mariadb_username: # name of a user to auto-create and assign permission on the mariadb_database
mariadb_password: # password of the user in mariadb_username

Requirements

  • Docker installed
  • python-docker present on target system for ansible to be able to talk with the docker API.