test: use personal docker registry
This commit is contained in:
parent
34e6590bcc
commit
a1cd7135a3
3 changed files with 17 additions and 13 deletions
|
@ -10,6 +10,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|||
- add dependencies
|
||||
- add options in host
|
||||
|
||||
### Changed
|
||||
|
||||
- test: use personal docker registry
|
||||
|
||||
### Fixed
|
||||
|
||||
- bug in check command template
|
||||
|
|
22
README.md
22
README.md
|
@ -1,16 +1,16 @@
|
|||
# Ansible role: Icinga2
|
||||
|
||||
[](https://git.yaegashi.fr/nishiki/ansible-role-icinga2/releases)
|
||||
[](https://git.yaegashi.fr/nishiki/ansible-role-icinga2/src/branch/master/LICENSE)
|
||||
[](https://code.waks.be/nishiki/ansible-role-icinga2/releases)
|
||||
[](https://code.waks.be/nishiki/ansible-role-icinga2/src/branch/main/LICENSE)
|
||||
|
||||
Install and configure Icinga2
|
||||
|
||||
## Requirements
|
||||
|
||||
* Ansible >= 2.9
|
||||
* Debian
|
||||
* Bullseye
|
||||
* Bookworm
|
||||
- Ansible >= 2.9
|
||||
- Debian
|
||||
- Bullseye
|
||||
- Bookworm
|
||||
|
||||
## Role variables
|
||||
|
||||
|
@ -117,7 +117,7 @@ Install and configure Icinga2
|
|||
- admin
|
||||
```
|
||||
|
||||
- `icinga2_api_users` - hash with the user configuration for the API access
|
||||
- `icinga2_api_users` - hash with the user configuration for the API access
|
||||
|
||||
```
|
||||
icingaweb2:
|
||||
|
@ -245,10 +245,10 @@ Install and configure Icinga2
|
|||
|
||||
### 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 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 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
|
||||
|
@ -12,7 +12,7 @@ platforms:
|
|||
capabilities:
|
||||
- SYS_ADMIN
|
||||
- name: debian11
|
||||
image: nishiki/debian11:molecule
|
||||
image: code.waks.be/nishiki/molecule:debian11
|
||||
privileged: true
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup:rw
|
||||
|
|
Loading…
Add table
Reference in a new issue