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) ## [Example Playbook](#example-playbook)
This example is taken from `molecule/default/converge.yml` and is tested on each push, pull request and release. This example is taken from `molecule/default/converge.yml` and is tested on each push, pull request and release.
```yaml ```yaml
{{ example.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}``` {{ example.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}```
{% if prepare.content is defined %} {% if prepare.content is defined %}
The machine needs to be prepared. In CI this is done using `molecule/default/prepare.yml`: The machine needs to be prepared. In CI this is done using `molecule/default/prepare.yml`:
```yaml ```yaml
{{ prepare.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}``` {{ 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) ## [Role Variables](#role-variables)
The default values for the variables are set in `defaults/main.yml`: The default values for the variables are set in `defaults/main.yml`:
```yaml ```yaml
{{ variables.content | b64decode }}``` {{ variables.content | b64decode }}```
{% endif %} {% endif %}
@ -76,17 +79,6 @@ The minimum version of Ansible required is {{ meta.galaxy_info.min_ansible_versi
- The current version. - The current version.
- The development 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) If you find issues, please register them in [GitHub](https://github.com/{{ github_namespace }}/ansible-role-{{ role_name }}/issues)
## [License](#license) ## [License](#license)

View File

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

View File

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