test: use personal docker registry

This commit is contained in:
Adrien Waksberg 2024-05-07 16:20:07 +02:00
parent 37ed35956c
commit 8c5f17ef0e
3 changed files with 19 additions and 15 deletions

View file

@ -9,6 +9,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- test: add support debian 12 - test: add support debian 12
### Changed
- test: use personal docker registry
### Removed ### Removed
- test: removed support debian 10 - test: removed support debian 10

View file

@ -1,20 +1,20 @@
# Ansible role: Grafana # Ansible role: Grafana
[![Version](https://img.shields.io/badge/latest_version-1.1.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-grafana/releases) [![Version](https://img.shields.io/badge/latest_version-1.1.0-green.svg)](https://code.waks.be/nishiki/ansible-role-grafana/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-sensu/src/branch/master/LICENSE) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/ansible-role-sensu/src/branch/main/LICENSE)
Install and configure Grafana Install and configure Grafana
## Requirements ## Requirements
* Ansible >= 2.9 - Ansible >= 2.9
* Debian - Debian
* Buster - Buster
* Bullseye - Bullseye
## Role variables ## Role variables
* `grafana_config` - hash with the grafana configuration (see [grafana documentation](http://docs.grafana.org/installation/configuration/)) - `grafana_config` - hash with the grafana configuration (see [grafana documentation](http://docs.grafana.org/installation/configuration/))
``` ```
default: default:
@ -24,8 +24,8 @@ Install and configure Grafana
admin_password: secret admin_password: secret
``` ```
* `grafana_ldap_config` - hash with ldap configuration (see [grafana with ldap](http://docs.grafana.org/auth/ldap/)) - `grafana_ldap_config` - hash with ldap configuration (see [grafana with ldap](http://docs.grafana.org/auth/ldap/))
* `grafana_plugins` - array with grafana plugins (see [grafana plugins](https://grafana.com/plugins)) - `grafana_plugins` - array with grafana plugins (see [grafana plugins](https://grafana.com/plugins))
``` ```
- name: grafana-piechart-panel - name: grafana-piechart-panel
@ -55,10 +55,10 @@ Install and configure Grafana
### Test with molecule and docker ### Test with molecule and docker
* install [docker](https://docs.docker.com/engine/installation/) - install [docker](https://docs.docker.com/engine/installation/)
* install `python3` and `python3-pip` - install `python3` and `python3-pip`
* install molecule and dependencies `pip3 install molecule molecule-docker docker ansible-lint pytest-testinfra yamllint` - install molecule and dependencies `pip3 install molecule molecule-docker docker ansible-lint pytest-testinfra yamllint`
* run `molecule test` - run `molecule test`
## License ## License

View file

@ -3,7 +3,7 @@ driver:
name: docker name: docker
platforms: platforms:
- name: debian12 - name: debian12
image: nishiki/debian12:molecule image: code.waks.be/nishiki/molecule:debian12
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw - /sys/fs/cgroup:/sys/fs/cgroup:rw
@ -12,7 +12,7 @@ platforms:
capabilities: capabilities:
- SYS_ADMIN - SYS_ADMIN
- name: debian11 - name: debian11
image: nishiki/debian11:molecule image: code.waks.be/nishiki/molecule:debian11
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw - /sys/fs/cgroup:/sys/fs/cgroup:rw