Not sure, sweeper.
This commit is contained in:
parent
042122465a
commit
c67d681db8
|
|
@ -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 %}
|
||||||
|
|
@ -40,7 +43,7 @@ The following roles are used to prepare a system. You can prepare your system in
|
||||||
| Requirement | GitHub | GitLab |
|
| Requirement | GitHub | GitLab |
|
||||||
|-------------|--------|--------|
|
|-------------|--------|--------|
|
||||||
{% for requirement in requirements.roles %}
|
{% for requirement in requirements.roles %}
|
||||||
|[{{ requirement.name }}](https://galaxy.ansible.com/{{ github_namespace }}/{{ requirement.name | regex_replace(github_namespace + '\.') }})|[ }}/workflows/Ansible%20Molecule/badge.svg)](https://github.com/{{ github_namespace }}/{{ requirement.name | regex_replace(github_namespace + '\.', 'ansible-role-') }}/actions)|[ }}/badges/master/pipeline.svg)](https://gitlab.com/{{ github_namespace }}/{{ requirement.name | regex_replace(github_namespace + '\.', 'ansible-role-') }})|
|
|[{{ requirement.name }}](https://galaxy.ansible.com/{{ github_namespace }}/{{ requirement.name | regex_replace(github_namespace + '\.') }})|[ }}/workflows/Ansible%20Molecule/badge.svg)](https://github.com/{{ github_namespace }}/{{ requirement.name | regex_replace(github_namespace + '\.', 'ansible-role-') }}/actions)|[ }}/badges/master/pipeline.svg)](https://gitlab.com/{{ github_namespace }}/{{ requirement.name | regex_replace(github_namespace + '\.', 'ansible-role-') }})|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% 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)
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ services:
|
||||||
- docker:dind
|
- docker:dind
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
DOCKER_HOST: "tcp://docker:2375"
|
|
||||||
PY_COLORS: 1
|
PY_COLORS: 1
|
||||||
|
|
||||||
molecule:
|
molecule:
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ distribution_version_mapping:
|
||||||
"8":
|
"8":
|
||||||
- 8
|
- 8
|
||||||
"9":
|
"9":
|
||||||
- 9
|
- latest
|
||||||
Fedora:
|
Fedora:
|
||||||
all:
|
all:
|
||||||
- 35
|
- 35
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue