1
0
forked from finallycoffee/base

chore(mariadb): add role-README, update collection README

This commit is contained in:
transcaffeine 2023-07-26 20:04:50 +02:00
parent 1778ffac2a
commit f9bbcd6c71
Signed by untrusted user: transcaffeine
GPG Key ID: 03624C433676E465
2 changed files with 20 additions and 0 deletions

View File

@ -7,6 +7,7 @@ and configuring basic system utilities like gnupg, ssh etc
- [`git`](roles/git/README.md): configures git on the target system - [`git`](roles/git/README.md): configures git on the target system
- [`gnupg`](roles/gnupg/README.md): configures gnupg on the target system - [`gnupg`](roles/gnupg/README.md): configures gnupg on the target system
- [`mariadb`](roles/mariadb/README.md): runs [MariaDB Server](https://mariadb.org/), one of the world's most popular open source relational database
- [`nginx`](roles/nginx/README.md): [nginx](https://www.nginx.com/), - [`nginx`](roles/nginx/README.md): [nginx](https://www.nginx.com/),
an advanced load balancer, webserver and reverse proxy. an advanced load balancer, webserver and reverse proxy.

19
roles/mariadb/README.md Normal file
View File

@ -0,0 +1,19 @@
# `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:
```yaml
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.