test: use personal docker registry

This commit is contained in:
Adrien Waksberg 2024-05-07 14:12:56 +02:00
parent 3a46cdbb2c
commit 429d82c203
3 changed files with 16 additions and 12 deletions

View file

@ -11,6 +11,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- feat: add hook scripts - feat: add hook scripts
- test: add support debian 12 - test: add support debian 12
### Changed
- test: use personal docker registry
## v2.2.0 - 2021-08-24 ## v2.2.0 - 2021-08-24
### Added ### Added

View file

@ -1,16 +1,16 @@
# Ansible role: Certbot # Ansible role: Certbot
[![Version](https://img.shields.io/badge/latest_version-2.2.0-green.svg)](https://git.yaegashi.fr/nishiki/ansible-role-certbot/releases) [![Version](https://img.shields.io/badge/latest_version-2.2.0-green.svg)](https://code.waks.be/nishiki/ansible-role-certbot/releases)
[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/ansible-role-certbot/src/branch/master/LICENSE) [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/ansible-role-certbot/src/branch/main/LICENSE)
Generate certificate SSL with certbot. Generate certificate SSL with certbot.
## Requirements ## Requirements
* Ansible >= 2.10 - Ansible >= 2.10
* Debian - Debian
* Bullseye - Bullseye
* Bookworm - Bookworm
## Role variables ## Role variables
@ -40,10 +40,10 @@ Generate certificate SSL with certbot.
### 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-plugins[docker] docker ansible-lint pytest-testinfra yamllint` - install molecule and dependencies `pip3 install molecule molecule-plugins[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