test: use personal docker registry

This commit is contained in:
Adrien Waksberg 2024-05-08 10:32:28 +02:00
parent e4cf843fc7
commit ce6826cfff
3 changed files with 13 additions and 12 deletions

View file

@ -12,6 +12,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
### Changed
- chore: replace apt_key to get_url
- test: use personal docker registry
### Removed

View file

@ -1,20 +1,20 @@
# Ansible role: Kibana
[![Version](https://img.shields.io/badge/latest_version-1.1.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-kibana/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-kibana/src/branch/master/LICENSE)
[![Version](https://img.shields.io/badge/latest_version-1.1.0-green.svg)](https://code.waks.be/nishiki/ansible-role-kibana/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/ansible-role-kibana/src/branch/main/LICENSE)
Install and configure kibana
## Requirements
* Ansible >= 2.9
* Debian
* Bookworm
- Ansible >= 2.9
- Debian
- Bookworm
## Role variables
* `kibana_major_version` set major version to install- (default: `7`)
* `kibana_config` - hash with the configuration (see [kibana documentation](https://www.elastic.co/guide/en/kibana/current/settings.html))
- `kibana_major_version` set major version to install- (default: `7`)
- `kibana_config` - hash with the configuration (see [kibana documentation](https://www.elastic.co/guide/en/kibana/current/settings.html))
```
console.enabled: true
@ -33,10 +33,10 @@ Install and configure kibana
### 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

View file

@ -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