test: use personal docker registry
This commit is contained in:
parent
5eb6a71466
commit
0efdcb045e
3 changed files with 30 additions and 30 deletions
|
@ -23,6 +23,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|||
|
||||
- chore: use FQCN for module name
|
||||
- fix: replace no_log to loop label
|
||||
- test: use personal docker registry
|
||||
|
||||
## v2.0.1 - 2020-03-28
|
||||
|
||||
|
|
27
README.md
27
README.md
|
@ -1,22 +1,21 @@
|
|||
# Ansible role: MariaDB
|
||||
|
||||
[![Version](https://img.shields.io/badge/latest_version-2.1.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-mariadb/releases)
|
||||
[![Build Status](https://travis-ci.org/nishiki/ansible-role-mariadb.svg?branch=master)](https://travis-ci.org/nishiki/ansible-role-mariadb)
|
||||
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-mariadb/src/branch/master/LICENSE)
|
||||
[![Version](https://img.shields.io/badge/latest_version-2.1.0-green.svg)](https://code.waks.be/nishiki/ansible-role-mariadb/releases)
|
||||
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/ansible-role-mariadb/src/branch/master/LICENSE)
|
||||
|
||||
Install and configure MariaDB
|
||||
|
||||
## Requirements
|
||||
|
||||
* Ansible >= 2.9
|
||||
* Debian
|
||||
* Bullseye
|
||||
* Bookworm
|
||||
- Ansible >= 2.9
|
||||
- Debian
|
||||
- Bullseye
|
||||
- Bookworm
|
||||
|
||||
## Role variables
|
||||
|
||||
| Name | Type | Required | Default | Comment |
|
||||
|---------------------------------|-------|----------|--------|----------------------------------------|
|
||||
| ------------------------------- | ----- | -------- | ------- | -------------------------------------- |
|
||||
| mariadb_use_official_repository | bool | no | true | use the official repository |
|
||||
| mariadb_branch | str | no | 10.3 | the branch version to install |
|
||||
| mariadb_user | str | no | root | login to connect on mariadb |
|
||||
|
@ -30,7 +29,7 @@ Install and configure MariaDB
|
|||
### mariadb_users
|
||||
|
||||
| Name | Type | Required | Default | Comment |
|
||||
|------------|-------|----------|---------|-----------------------------------------------------------|
|
||||
| ---------- | ----- | -------- | ------- | --------------------------------------------------------- |
|
||||
| name | str | yes | | the username |
|
||||
| host | str | yes | | the mysql user host |
|
||||
| password | str | yes | | the user password |
|
||||
|
@ -51,7 +50,7 @@ Example:
|
|||
### mariadb_databases
|
||||
|
||||
| Name | Type | Required | Default | Comment |
|
||||
|------------|-------|----------|---------|-----------------------------------------------------------|
|
||||
| ----- | ---- | -------- | ------- | -------------------------------------------- |
|
||||
| name | str | yes | | the dabase name |
|
||||
| state | str | no | present | if state is `absent` the database is deleted |
|
||||
|
||||
|
@ -97,10 +96,10 @@ Example:
|
|||
|
||||
### Test with molecule and docker
|
||||
|
||||
* install [docker](https://docs.docker.com/engine/installation/)
|
||||
* install `python3` and `python3-pip`
|
||||
* install molecule and dependencies `pip3 install molecule molecule-docker docker ansible-lint pytest-testinfra yamllint`
|
||||
* run `molecule test`
|
||||
- install [docker](https://docs.docker.com/engine/installation/)
|
||||
- install `python3` and `python3-pip`
|
||||
- install molecule and dependencies `pip3 install molecule molecule-docker docker ansible-lint pytest-testinfra yamllint`
|
||||
- run `molecule test`
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ driver:
|
|||
name: docker
|
||||
platforms:
|
||||
- name: debian12
|
||||
image: nishiki/debian12:molecule
|
||||
image: code.waks.be/nishiki/molecule:debian12
|
||||
privileged: true
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
||||
|
|
Loading…
Reference in a new issue