Not sure, sweeper.

This commit is contained in:
Robert de Bock 2022-10-04 14:09:57 +02:00
parent 042122465a
commit c67d681db8
3 changed files with 5 additions and 14 deletions

View File

@ -9,11 +9,13 @@
## [Example Playbook](#example-playbook)
This example is taken from `molecule/default/converge.yml` and is tested on each push, pull request and release.
```yaml
{{ example.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}```
{% if prepare.content is defined %}
The machine needs to be prepared. In CI this is done using `molecule/default/prepare.yml`:
```yaml
{{ prepare.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}```
@ -24,6 +26,7 @@ Also see a [full explanation and example](https://robertdebock.nl/how-to-use-the
## [Role Variables](#role-variables)
The default values for the variables are set in `defaults/main.yml`:
```yaml
{{ variables.content | b64decode }}```
{% endif %}
@ -76,17 +79,6 @@ The minimum version of Ansible required is {{ meta.galaxy_info.min_ansible_versi
- The current version.
- The development version.
{% if versions is defined %}
## [Included version(s)](#included-versions)
This role [refers to a version]({{ reference }}) released by {{ project_name }}. Check the released version(s) here:
{% for version in versions %}
- [{{ version.name }}]({{ version.url }}).
{% endfor %}
This version reference means a role may get outdated. Monthly tests occur to see if [bit-rot](https://en.wikipedia.org/wiki/Software_rot) occured. If you however find a problem, please create an issue, I'll get on it as soon as possible.
{% endif %}
If you find issues, please register them in [GitHub](https://github.com/{{ github_namespace }}/ansible-role-{{ role_name }}/issues)
## [License](#license)

View File

@ -5,7 +5,6 @@ services:
- docker:dind
variables:
DOCKER_HOST: "tcp://docker:2375"
PY_COLORS: 1
molecule:

View File

@ -65,7 +65,7 @@ distribution_version_mapping:
"8":
- 8
"9":
- 9
- latest
Fedora:
all:
- 35