ci: update tests

This commit is contained in:
mullholland 2023-05-28 08:13:03 +02:00
parent ae0a493e65
commit 173a9fb3e9
25 changed files with 148 additions and 213 deletions

View File

@ -20,7 +20,6 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr
{{ prepare.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}```
{% endif %}
Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
{% if variables.content is defined %}
## [Role Variables](#role-variables)

View File

@ -4,5 +4,5 @@
#
repository:
description: Install and configure default on your system.
homepage: https://robertdebock.nl/
topics: default, ansible, molecule, tox, playbook, hacktoberfest
homepage: https://mullholland.net
topics: default, ansible, molecule, tox, playbook

View File

@ -14,7 +14,7 @@ jobs:
steps:
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v2.3"
uses: "alstr/todo-to-issue-action@v4.1"
id: "todo"
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -4,11 +4,11 @@ Install and configure default on your system.
|GitHub|GitLab|Quality|Downloads|Version|
|------|------|-------|---------|-------|
|[![github](https://github.com/robertdebock/ansible-role-default/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-default/actions)|[![gitlab](https://gitlab.com/robertdebock-iac/ansible-role-default/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-default)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/robertdebock/default)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/robertdebock/default)|[![Version](https://img.shields.io/github/release/robertdebock/ansible-role-default.svg)](https://github.com/robertdebock/ansible-role-default/releases/)|
|[![github](https://github.com/mullholland/ansible-role-default/workflows/Ansible%20Molecule/badge.svg)](https://github.com/mullholland/ansible-role-default/actions)|[![gitlab](https://gitlab.com/opensourceunicorn/ansible-role-default/badges/master/pipeline.svg)](https://gitlab.com/opensourceunicorn/ansible-role-default)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/mullholland/default)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/mullholland/default)|[![Version](https://img.shields.io/github/release/mullholland/ansible-role-default.svg)](https://github.com/mullholland/ansible-role-default/releases/)|
## [Example Playbook](#example-playbook)
This example is taken from [`molecule/default/converge.yml`](https://github.com/robertdebock/ansible-role-default/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
This example is taken from [`molecule/default/converge.yml`](https://github.com/mullholland/ansible-role-default/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
```yaml
---
@ -18,10 +18,10 @@ This example is taken from [`molecule/default/converge.yml`](https://github.com/
gather_facts: yes
roles:
- role: robertdebock.default
- role: mullholland.default
```
The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/robertdebock/ansible-role-default/blob/master/molecule/default/prepare.yml):
The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/mullholland/ansible-role-default/blob/master/molecule/default/prepare.yml):
```yaml
---
@ -34,11 +34,10 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr
- role: robertdebock.bootstrap
```
Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
## [Role Variables](#role-variables)
The default values for the variables are set in [`defaults/main.yml`](https://github.com/robertdebock/ansible-role-default/blob/master/defaults/main.yml):
The default values for the variables are set in [`defaults/main.yml`](https://github.com/mullholland/ansible-role-default/blob/master/defaults/main.yml):
```yaml
---
@ -48,7 +47,7 @@ The default values for the variables are set in [`defaults/main.yml`](https://gi
## [Requirements](#requirements)
- pip packages listed in [requirements.txt](https://github.com/robertdebock/ansible-role-default/blob/master/requirements.txt).
- pip packages listed in [requirements.txt](https://github.com/mullholland/ansible-role-default/blob/master/requirements.txt).
## [State of used roles](#state-of-used-roles)
@ -56,28 +55,28 @@ The following roles are used to prepare a system. You can prepare your system in
| Requirement | GitHub | GitLab |
|-------------|--------|--------|
|[robertdebock.bootstrap](https://galaxy.ansible.com/robertdebock/bootstrap)|[![Build Status GitHub](https://github.com/robertdebock/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap)|
|[robertdebock.bootstrap](https://galaxy.ansible.com/mullholland/robertdebock.bootstrap)|[![Build Status GitHub](https://github.com/mullholland/robertdebock.bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/mullholland/robertdebock.bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/opensourceunicorn/robertdebock.bootstrap/badges/master/pipeline.svg)](https://gitlab.com/opensourceunicorn/robertdebock.bootstrap)|
## [Context](#context)
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://robertdebock.nl/) for further information.
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://mullholland.net) for further information.
Here is an overview of related roles:
![dependencies](https://raw.githubusercontent.com/robertdebock/ansible-role-default/png/requirements.png "Dependencies")
![dependencies](https://raw.githubusercontent.com/mullholland/ansible-role-default/png/requirements.png "Dependencies")
## [Compatibility](#compatibility)
This role has been tested on these [container images](https://hub.docker.com/u/robertdebock):
This role has been tested on these [container images](https://hub.docker.com/u/mullholland):
|container|tags|
|---------|----|
|[Alpine](https://hub.docker.com/repository/docker/robertdebock/alpine/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/robertdebock/amazonlinux/general)|all|
|[Debian](https://hub.docker.com/repository/docker/robertdebock/debian/general)|all|
|[EL](https://hub.docker.com/repository/docker/robertdebock/enterpriselinux/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/robertdebock/fedora/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/robertdebock/opensuse/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/robertdebock/ubuntu/general)|all|
|[Alpine](https://hub.docker.com/repository/docker/mullholland/docker-alpine-systemd/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/mullholland/docker-amazonlinux-systemd/general)|all|
|[Debian](https://hub.docker.com/repository/docker/mullholland/docker-debian-systemd/general)|all|
|[EL](https://hub.docker.com/repository/docker/mullholland/docker-centos-systemd/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/mullholland/docker-fedora-systemd/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/mullholland/docker-opensuse-systemd/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/mullholland/docker-ubuntu-systemd/general)|all|
The minimum version of Ansible required is 2.10, tests have been done to:
@ -85,14 +84,14 @@ The minimum version of Ansible required is 2.10, tests have been done to:
- The current version.
- The development version.
If you find issues, please register them in [GitHub](https://github.com/robertdebock/ansible-role-default/issues)
If you find issues, please register them in [GitHub](https://github.com/mullholland/ansible-role-default/issues)
## [License](#license)
[Apache-2.0](https://github.com/robertdebock/ansible-role-default/blob/master/LICENSE).
[Apache-2.0](https://github.com/mullholland/ansible-role-default/blob/master/LICENSE).
## [Author Information](#author-information)
[robertdebock](https://robertdebock.nl/)
[robertdebock](https://mullholland.net)
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
Please consider [sponsoring me](https://github.com/sponsors/mullholland).

View File

@ -4,22 +4,20 @@ This software implements other software, it's not very likely that this software
## [Supported Versions](#supported-versions)
The current major version is supported. For example if the current version is 3.4.1:
These version of [ansible](https://pypi.org/project/ansible/) are supported:
| Version | Supported |
| ------- | ------------------ |
| 3.4.1 | :white_check_mark: |
| 3.4.x | :white_check_mark: |
| 3.x.x | :white_check_mark: |
| 2.0.0 | :x: |
| 1.0.0 | :x: |
| 7 | :white_check_mark: |
| 6 | :white_check_mark: |
| 5 | :white_check_mark: |
## [Reporting a Vulnerability](#reporting-a-vulnarability)
Please [open an issue](https://github.com/robertdebock/ansible-role-default/issues) describing the vulnerability.
Please [open an issue](https://github.com/mullholland/ansible-role-default/issues) describing the vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
Please consider [sponsoring me](https://github.com/sponsors/mullholland).

View File

@ -1,10 +1,6 @@
# These role have been tested with these PIP component.
# To install the required version yourself, use a command as:
# `python -m pip --user install -r requirements.txt`
# See the pip requirements file documentation for details:
# https://pip.pypa.io/en/stable/user_guide/#requirements-files
#
# Tests run on the previous and current (latest) version of Ansible.
ansible>=2.10
# Some Jinja2 filters are used that are available in the newer releases.
jinja2>=2.11.2
# Pinning ansible-compat version due to [bug](https://github.com/ansible-community/molecule/issues/3903)
ansible-compat == 3.0.2
molecule == 5.*
molecule-plugins[docker] == 23.*
ansible-lint == 6.*
paramiko == 3.*

View File

@ -4,16 +4,15 @@
[tox]
minversion = 4.2.4
envlist = py{310}-ansible{5,6,7}
skipsdist = true
[testenv]
deps =
-rrequirements.txt
ansible5: ansible == 5.*
ansible6: ansible == 6.*
ansible7: ansible == 7.*
molecule[docker]
docker == 6.*
ansible-lint == 6.*
commands = molecule test
setenv =
TOX_ENVNAME={envname}

View File

@ -4,5 +4,5 @@
#
repository:
description: Install and configure minimal on your system.
homepage: https://robertdebock.nl/
topics: minimal, ansible, molecule, tox, playbook, hacktoberfest
homepage: https://mullholland.net
topics: minimal, ansible, molecule, tox, playbook

View File

@ -14,7 +14,7 @@ jobs:
steps:
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v2.3"
uses: "alstr/todo-to-issue-action@v4.1"
id: "todo"
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -4,11 +4,11 @@ Install and configure minimal on your system.
|GitHub|GitLab|Quality|Downloads|Version|
|------|------|-------|---------|-------|
|[![github](https://github.com/robertdebock/ansible-role-minimal/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-minimal/actions)|[![gitlab](https://gitlab.com/robertdebock-iac/ansible-role-minimal/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-minimal)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/robertdebock/minimal)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/robertdebock/minimal)|[![Version](https://img.shields.io/github/release/robertdebock/ansible-role-minimal.svg)](https://github.com/robertdebock/ansible-role-minimal/releases/)|
|[![github](https://github.com/mullholland/ansible-role-minimal/workflows/Ansible%20Molecule/badge.svg)](https://github.com/mullholland/ansible-role-minimal/actions)|[![gitlab](https://gitlab.com/opensourceunicorn/ansible-role-minimal/badges/master/pipeline.svg)](https://gitlab.com/opensourceunicorn/ansible-role-minimal)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/mullholland/minimal)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/mullholland/minimal)|[![Version](https://img.shields.io/github/release/mullholland/ansible-role-minimal.svg)](https://github.com/mullholland/ansible-role-minimal/releases/)|
## [Example Playbook](#example-playbook)
This example is taken from [`molecule/default/converge.yml`](https://github.com/robertdebock/ansible-role-minimal/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
This example is taken from [`molecule/default/converge.yml`](https://github.com/mullholland/ansible-role-minimal/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
```yaml
---
@ -18,66 +18,36 @@ This example is taken from [`molecule/default/converge.yml`](https://github.com/
gather_facts: yes
roles:
- role: robertdebock.minimal
- role: mullholland.minimal
```
The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/robertdebock/ansible-role-minimal/blob/master/molecule/default/prepare.yml):
```yaml
---
- name: Prepare
hosts: all
become: yes
gather_facts: no
roles:
- role: robertdebock.bootstrap
```
Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
## [Role Variables](#role-variables)
The default values for the variables are set in [`defaults/main.yml`](https://github.com/robertdebock/ansible-role-minimal/blob/master/defaults/main.yml):
```yaml
---
# defaults file for minimal
```
## [Requirements](#requirements)
- pip packages listed in [requirements.txt](https://github.com/robertdebock/ansible-role-minimal/blob/master/requirements.txt).
- pip packages listed in [requirements.txt](https://github.com/mullholland/ansible-role-minimal/blob/master/requirements.txt).
## [State of used roles](#state-of-used-roles)
The following roles are used to prepare a system. You can prepare your system in another way.
| Requirement | GitHub | GitLab |
|-------------|--------|--------|
|[robertdebock.bootstrap](https://galaxy.ansible.com/robertdebock/bootstrap)|[![Build Status GitHub](https://github.com/robertdebock/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap)|
## [Context](#context)
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://robertdebock.nl/) for further information.
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://mullholland.net) for further information.
Here is an overview of related roles:
![dependencies](https://raw.githubusercontent.com/robertdebock/ansible-role-minimal/png/requirements.png "Dependencies")
![dependencies](https://raw.githubusercontent.com/mullholland/ansible-role-minimal/png/requirements.png "Dependencies")
## [Compatibility](#compatibility)
This role has been tested on these [container images](https://hub.docker.com/u/robertdebock):
This role has been tested on these [container images](https://hub.docker.com/u/mullholland):
|container|tags|
|---------|----|
|[Alpine](https://hub.docker.com/repository/docker/robertdebock/alpine/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/robertdebock/amazonlinux/general)|all|
|[Debian](https://hub.docker.com/repository/docker/robertdebock/debian/general)|all|
|[EL](https://hub.docker.com/repository/docker/robertdebock/enterpriselinux/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/robertdebock/fedora/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/robertdebock/opensuse/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/robertdebock/ubuntu/general)|all|
|[Alpine](https://hub.docker.com/repository/docker/mullholland/docker-alpine-systemd/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/mullholland/docker-amazonlinux-systemd/general)|all|
|[Debian](https://hub.docker.com/repository/docker/mullholland/docker-debian-systemd/general)|all|
|[EL](https://hub.docker.com/repository/docker/mullholland/docker-centos-systemd/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/mullholland/docker-fedora-systemd/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/mullholland/docker-opensuse-systemd/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/mullholland/docker-ubuntu-systemd/general)|all|
The minimum version of Ansible required is 2.10, tests have been done to:
@ -85,14 +55,14 @@ The minimum version of Ansible required is 2.10, tests have been done to:
- The current version.
- The development version.
If you find issues, please register them in [GitHub](https://github.com/robertdebock/ansible-role-minimal/issues)
If you find issues, please register them in [GitHub](https://github.com/mullholland/ansible-role-minimal/issues)
## [License](#license)
[Apache-2.0](https://github.com/robertdebock/ansible-role-minimal/blob/master/LICENSE).
[Apache-2.0](https://github.com/mullholland/ansible-role-minimal/blob/master/LICENSE).
## [Author Information](#author-information)
[robertdebock](https://robertdebock.nl/)
[robertdebock](https://mullholland.net)
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
Please consider [sponsoring me](https://github.com/sponsors/mullholland).

View File

@ -4,22 +4,20 @@ This software implements other software, it's not very likely that this software
## [Supported Versions](#supported-versions)
The current major version is supported. For example if the current version is 3.4.1:
These version of [ansible](https://pypi.org/project/ansible/) are supported:
| Version | Supported |
| ------- | ------------------ |
| 3.4.1 | :white_check_mark: |
| 3.4.x | :white_check_mark: |
| 3.x.x | :white_check_mark: |
| 2.0.0 | :x: |
| 1.0.0 | :x: |
| 7 | :white_check_mark: |
| 6 | :white_check_mark: |
| 5 | :white_check_mark: |
## [Reporting a Vulnerability](#reporting-a-vulnarability)
Please [open an issue](https://github.com/robertdebock/ansible-role-minimal/issues) describing the vulnerability.
Please [open an issue](https://github.com/mullholland/ansible-role-minimal/issues) describing the vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
Please consider [sponsoring me](https://github.com/sponsors/mullholland).

View File

@ -1,10 +1,6 @@
# These role have been tested with these PIP component.
# To install the required version yourself, use a command as:
# `python -m pip --user install -r requirements.txt`
# See the pip requirements file documentation for details:
# https://pip.pypa.io/en/stable/user_guide/#requirements-files
#
# Tests run on the previous and current (latest) version of Ansible.
ansible>=2.10
# Some Jinja2 filters are used that are available in the newer releases.
jinja2>=2.11.2
# Pinning ansible-compat version due to [bug](https://github.com/ansible-community/molecule/issues/3903)
ansible-compat == 3.0.2
molecule == 5.*
molecule-plugins[docker] == 23.*
ansible-lint == 6.*
paramiko == 3.*

View File

@ -4,16 +4,15 @@
[tox]
minversion = 4.2.4
envlist = py{310}-ansible{5,6,7}
skipsdist = true
[testenv]
deps =
-rrequirements.txt
ansible5: ansible == 5.*
ansible6: ansible == 6.*
ansible7: ansible == 7.*
molecule[docker]
docker == 6.*
ansible-lint == 6.*
commands = molecule test
setenv =
TOX_ENVNAME={envname}

View File

@ -4,5 +4,5 @@
#
repository:
description: Install and configure preferences on your system.
homepage: https://robertdebock.nl/
topics: preferences, ansible, molecule, tox, playbook, hacktoberfest
homepage: https://mullholland.net
topics: preferences, ansible, molecule, tox, playbook

View File

@ -14,7 +14,7 @@ jobs:
steps:
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v2.3"
uses: "alstr/todo-to-issue-action@v4.1"
id: "todo"
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -4,11 +4,11 @@ Install and configure preferences on your system.
|GitHub|GitLab|Quality|Downloads|Version|
|------|------|-------|---------|-------|
|[![github](https://github.com/robertdebock/ansible-role-preferences/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-preferences/actions)|[![gitlab](https://gitlab.com/robertdebock-iac/ansible-role-preferences/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-preferences)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/robertdebock/preferences)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/robertdebock/preferences)|[![Version](https://img.shields.io/github/release/robertdebock/ansible-role-preferences.svg)](https://github.com/robertdebock/ansible-role-preferences/releases/)|
|[![github](https://github.com/mullholland/ansible-role-preferences/workflows/Ansible%20Molecule/badge.svg)](https://github.com/mullholland/ansible-role-preferences/actions)|[![gitlab](https://gitlab.com/opensourceunicorn/ansible-role-preferences/badges/master/pipeline.svg)](https://gitlab.com/opensourceunicorn/ansible-role-preferences)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/mullholland/preferences)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/mullholland/preferences)|[![Version](https://img.shields.io/github/release/mullholland/ansible-role-preferences.svg)](https://github.com/mullholland/ansible-role-preferences/releases/)|
## [Example Playbook](#example-playbook)
This example is taken from [`molecule/default/converge.yml`](https://github.com/robertdebock/ansible-role-preferences/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
This example is taken from [`molecule/default/converge.yml`](https://github.com/mullholland/ansible-role-preferences/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
```yaml
---
@ -18,10 +18,10 @@ This example is taken from [`molecule/default/converge.yml`](https://github.com/
gather_facts: yes
roles:
- role: robertdebock.preferences
- role: mullholland.preferences
```
The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/robertdebock/ansible-role-preferences/blob/master/molecule/default/prepare.yml):
The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/mullholland/ansible-role-preferences/blob/master/molecule/default/prepare.yml):
```yaml
---
@ -34,11 +34,10 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr
- role: robertdebock.bootstrap
```
Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
## [Role Variables](#role-variables)
The default values for the variables are set in [`defaults/main.yml`](https://github.com/robertdebock/ansible-role-preferences/blob/master/defaults/main.yml):
The default values for the variables are set in [`defaults/main.yml`](https://github.com/mullholland/ansible-role-preferences/blob/master/defaults/main.yml):
```yaml
---
@ -48,7 +47,7 @@ The default values for the variables are set in [`defaults/main.yml`](https://gi
## [Requirements](#requirements)
- pip packages listed in [requirements.txt](https://github.com/robertdebock/ansible-role-preferences/blob/master/requirements.txt).
- pip packages listed in [requirements.txt](https://github.com/mullholland/ansible-role-preferences/blob/master/requirements.txt).
## [State of used roles](#state-of-used-roles)
@ -56,28 +55,28 @@ The following roles are used to prepare a system. You can prepare your system in
| Requirement | GitHub | GitLab |
|-------------|--------|--------|
|[robertdebock.bootstrap](https://galaxy.ansible.com/robertdebock/bootstrap)|[![Build Status GitHub](https://github.com/robertdebock/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap)|
|[robertdebock.bootstrap](https://galaxy.ansible.com/mullholland/robertdebock.bootstrap)|[![Build Status GitHub](https://github.com/mullholland/robertdebock.bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/mullholland/robertdebock.bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/opensourceunicorn/robertdebock.bootstrap/badges/master/pipeline.svg)](https://gitlab.com/opensourceunicorn/robertdebock.bootstrap)|
## [Context](#context)
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://robertdebock.nl/) for further information.
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://mullholland.net) for further information.
Here is an overview of related roles:
![dependencies](https://raw.githubusercontent.com/robertdebock/ansible-role-preferences/png/requirements.png "Dependencies")
![dependencies](https://raw.githubusercontent.com/mullholland/ansible-role-preferences/png/requirements.png "Dependencies")
## [Compatibility](#compatibility)
This role has been tested on these [container images](https://hub.docker.com/u/robertdebock):
This role has been tested on these [container images](https://hub.docker.com/u/mullholland):
|container|tags|
|---------|----|
|[Alpine](https://hub.docker.com/repository/docker/robertdebock/alpine/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/robertdebock/amazonlinux/general)|all|
|[Debian](https://hub.docker.com/repository/docker/robertdebock/debian/general)|all|
|[EL](https://hub.docker.com/repository/docker/robertdebock/enterpriselinux/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/robertdebock/fedora/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/robertdebock/opensuse/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/robertdebock/ubuntu/general)|all|
|[Alpine](https://hub.docker.com/repository/docker/mullholland/docker-alpine-systemd/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/mullholland/docker-amazonlinux-systemd/general)|all|
|[Debian](https://hub.docker.com/repository/docker/mullholland/docker-debian-systemd/general)|all|
|[EL](https://hub.docker.com/repository/docker/mullholland/docker-centos-systemd/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/mullholland/docker-fedora-systemd/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/mullholland/docker-opensuse-systemd/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/mullholland/docker-ubuntu-systemd/general)|all|
The minimum version of Ansible required is 2.10, tests have been done to:
@ -85,14 +84,14 @@ The minimum version of Ansible required is 2.10, tests have been done to:
- The current version.
- The development version.
If you find issues, please register them in [GitHub](https://github.com/robertdebock/ansible-role-preferences/issues)
If you find issues, please register them in [GitHub](https://github.com/mullholland/ansible-role-preferences/issues)
## [License](#license)
[Apache-2.0](https://github.com/robertdebock/ansible-role-preferences/blob/master/LICENSE).
[Apache-2.0](https://github.com/mullholland/ansible-role-preferences/blob/master/LICENSE).
## [Author Information](#author-information)
[robertdebock](https://robertdebock.nl/)
[robertdebock](https://mullholland.net)
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
Please consider [sponsoring me](https://github.com/sponsors/mullholland).

View File

@ -4,22 +4,19 @@ This software implements other software, it's not very likely that this software
## [Supported Versions](#supported-versions)
The current major version is supported. For example if the current version is 3.4.1:
These version of [ansible](https://pypi.org/project/ansible/) are supported:
| Version | Supported |
| ------- | ------------------ |
| 3.4.1 | :white_check_mark: |
| 3.4.x | :white_check_mark: |
| 3.x.x | :white_check_mark: |
| 2.0.0 | :x: |
| 1.0.0 | :x: |
| 6 | :white_check_mark: |
| 7 | :white_check_mark: |
## [Reporting a Vulnerability](#reporting-a-vulnarability)
Please [open an issue](https://github.com/robertdebock/ansible-role-preferences/issues) describing the vulnerability.
Please [open an issue](https://github.com/mullholland/ansible-role-preferences/issues) describing the vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
Please consider [sponsoring me](https://github.com/sponsors/mullholland).

View File

@ -1,10 +1,6 @@
# These role have been tested with these PIP component.
# To install the required version yourself, use a command as:
# `python -m pip --user install -r requirements.txt`
# See the pip requirements file documentation for details:
# https://pip.pypa.io/en/stable/user_guide/#requirements-files
#
# Tests run on the previous and current (latest) version of Ansible.
ansible>=2.10
# Some Jinja2 filters are used that are available in the newer releases.
jinja2>=2.11.2
# Pinning ansible-compat version due to [bug](https://github.com/ansible-community/molecule/issues/3903)
ansible-compat == 3.0.2
molecule == 5.*
molecule-plugins[docker] == 23.*
ansible-lint == 6.*
paramiko == 3.*

View File

@ -3,17 +3,15 @@
#
[tox]
minversion = 4.2.4
envlist = py{310}-ansible{5,6,7}
envlist = py{310}-ansible{6,7}
skipsdist = true
[testenv]
deps =
-rrequirements.txt
ansible5: ansible == 5.*
ansible6: ansible == 6.*
ansible7: ansible == 7.*
molecule[docker]
docker == 6.*
ansible-lint == 6.*
commands = molecule test
setenv =
TOX_ENVNAME={envname}
@ -26,3 +24,5 @@ passenv =
image
tag
DOCKER_HOST
VAULT_LICENCE
someTHING

View File

@ -4,5 +4,5 @@
#
repository:
description: Install and configure version on your system.
homepage: https://robertdebock.nl/
topics: version, ansible, molecule, tox, playbook, hacktoberfest
homepage: https://mullholland.net
topics: version, ansible, molecule, tox, playbook

View File

@ -14,7 +14,7 @@ jobs:
steps:
- uses: "actions/checkout@master"
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v2.3"
uses: "alstr/todo-to-issue-action@v4.1"
id: "todo"
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -4,11 +4,11 @@ Install and configure version on your system.
|GitHub|GitLab|Quality|Downloads|Version|
|------|------|-------|---------|-------|
|[![github](https://github.com/robertdebock/ansible-role-version/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-version/actions)|[![gitlab](https://gitlab.com/robertdebock-iac/ansible-role-version/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-version)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/robertdebock/version)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/robertdebock/version)|[![Version](https://img.shields.io/github/release/robertdebock/ansible-role-version.svg)](https://github.com/robertdebock/ansible-role-version/releases/)|
|[![github](https://github.com/mullholland/ansible-role-version/workflows/Ansible%20Molecule/badge.svg)](https://github.com/mullholland/ansible-role-version/actions)|[![gitlab](https://gitlab.com/opensourceunicorn/ansible-role-version/badges/master/pipeline.svg)](https://gitlab.com/opensourceunicorn/ansible-role-version)|[![quality](https://img.shields.io/ansible/quality/)](https://galaxy.ansible.com/mullholland/version)|[![downloads](https://img.shields.io/ansible/role/d/)](https://galaxy.ansible.com/mullholland/version)|[![Version](https://img.shields.io/github/release/mullholland/ansible-role-version.svg)](https://github.com/mullholland/ansible-role-version/releases/)|
## [Example Playbook](#example-playbook)
This example is taken from [`molecule/default/converge.yml`](https://github.com/robertdebock/ansible-role-version/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
This example is taken from [`molecule/default/converge.yml`](https://github.com/mullholland/ansible-role-version/blob/master/molecule/default/converge.yml) and is tested on each push, pull request and release.
```yaml
---
@ -18,10 +18,10 @@ This example is taken from [`molecule/default/converge.yml`](https://github.com/
gather_facts: yes
roles:
- role: robertdebock.version
- role: mullholland.version
```
The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/robertdebock/ansible-role-version/blob/master/molecule/default/prepare.yml):
The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/mullholland/ansible-role-version/blob/master/molecule/default/prepare.yml):
```yaml
---
@ -34,11 +34,10 @@ The machine needs to be prepared. In CI this is done using [`molecule/default/pr
- role: robertdebock.bootstrap
```
Also see a [full explanation and example](https://robertdebock.nl/how-to-use-these-roles.html) on how to use these roles.
## [Role Variables](#role-variables)
The default values for the variables are set in [`defaults/main.yml`](https://github.com/robertdebock/ansible-role-version/blob/master/defaults/main.yml):
The default values for the variables are set in [`defaults/main.yml`](https://github.com/mullholland/ansible-role-version/blob/master/defaults/main.yml):
```yaml
---
@ -48,7 +47,7 @@ The default values for the variables are set in [`defaults/main.yml`](https://gi
## [Requirements](#requirements)
- pip packages listed in [requirements.txt](https://github.com/robertdebock/ansible-role-version/blob/master/requirements.txt).
- pip packages listed in [requirements.txt](https://github.com/mullholland/ansible-role-version/blob/master/requirements.txt).
## [State of used roles](#state-of-used-roles)
@ -56,28 +55,28 @@ The following roles are used to prepare a system. You can prepare your system in
| Requirement | GitHub | GitLab |
|-------------|--------|--------|
|[robertdebock.bootstrap](https://galaxy.ansible.com/robertdebock/bootstrap)|[![Build Status GitHub](https://github.com/robertdebock/ansible-role-bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/robertdebock/ansible-role-bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap/badges/master/pipeline.svg)](https://gitlab.com/robertdebock-iac/ansible-role-bootstrap)|
|[robertdebock.bootstrap](https://galaxy.ansible.com/mullholland/robertdebock.bootstrap)|[![Build Status GitHub](https://github.com/mullholland/robertdebock.bootstrap/workflows/Ansible%20Molecule/badge.svg)](https://github.com/mullholland/robertdebock.bootstrap/actions)|[![Build Status GitLab](https://gitlab.com/opensourceunicorn/robertdebock.bootstrap/badges/master/pipeline.svg)](https://gitlab.com/opensourceunicorn/robertdebock.bootstrap)|
## [Context](#context)
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://robertdebock.nl/) for further information.
This role is a part of many compatible roles. Have a look at [the documentation of these roles](https://mullholland.net) for further information.
Here is an overview of related roles:
![dependencies](https://raw.githubusercontent.com/robertdebock/ansible-role-version/png/requirements.png "Dependencies")
![dependencies](https://raw.githubusercontent.com/mullholland/ansible-role-version/png/requirements.png "Dependencies")
## [Compatibility](#compatibility)
This role has been tested on these [container images](https://hub.docker.com/u/robertdebock):
This role has been tested on these [container images](https://hub.docker.com/u/mullholland):
|container|tags|
|---------|----|
|[Alpine](https://hub.docker.com/repository/docker/robertdebock/alpine/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/robertdebock/amazonlinux/general)|all|
|[Debian](https://hub.docker.com/repository/docker/robertdebock/debian/general)|all|
|[EL](https://hub.docker.com/repository/docker/robertdebock/enterpriselinux/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/robertdebock/fedora/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/robertdebock/opensuse/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/robertdebock/ubuntu/general)|all|
|[Alpine](https://hub.docker.com/repository/docker/mullholland/docker-alpine-systemd/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/mullholland/docker-amazonlinux-systemd/general)|all|
|[Debian](https://hub.docker.com/repository/docker/mullholland/docker-debian-systemd/general)|all|
|[EL](https://hub.docker.com/repository/docker/mullholland/docker-centos-systemd/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/mullholland/docker-fedora-systemd/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/mullholland/docker-opensuse-systemd/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/mullholland/docker-ubuntu-systemd/general)|all|
The minimum version of Ansible required is 2.10, tests have been done to:
@ -85,14 +84,14 @@ The minimum version of Ansible required is 2.10, tests have been done to:
- The current version.
- The development version.
If you find issues, please register them in [GitHub](https://github.com/robertdebock/ansible-role-version/issues)
If you find issues, please register them in [GitHub](https://github.com/mullholland/ansible-role-version/issues)
## [License](#license)
[Apache-2.0](https://github.com/robertdebock/ansible-role-version/blob/master/LICENSE).
[Apache-2.0](https://github.com/mullholland/ansible-role-version/blob/master/LICENSE).
## [Author Information](#author-information)
[robertdebock](https://robertdebock.nl/)
[robertdebock](https://mullholland.net)
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
Please consider [sponsoring me](https://github.com/sponsors/mullholland).

View File

@ -4,22 +4,18 @@ This software implements other software, it's not very likely that this software
## [Supported Versions](#supported-versions)
The current major version is supported. For example if the current version is 3.4.1:
These version of [ansible](https://pypi.org/project/ansible/) are supported:
| Version | Supported |
| ------- | ------------------ |
| 3.4.1 | :white_check_mark: |
| 3.4.x | :white_check_mark: |
| 3.x.x | :white_check_mark: |
| 2.0.0 | :x: |
| 1.0.0 | :x: |
| 5 | :white_check_mark: |
## [Reporting a Vulnerability](#reporting-a-vulnarability)
Please [open an issue](https://github.com/robertdebock/ansible-role-version/issues) describing the vulnerability.
Please [open an issue](https://github.com/mullholland/ansible-role-version/issues) describing the vulnerability.
Tell them where to go, how often they can expect to get an update on a
reported vulnerability, what to expect if the vulnerability is accepted or
declined, etc.
Please consider [sponsoring me](https://github.com/sponsors/robertdebock).
Please consider [sponsoring me](https://github.com/sponsors/mullholland).

View File

@ -1,10 +1,6 @@
# These role have been tested with these PIP component.
# To install the required version yourself, use a command as:
# `python -m pip --user install -r requirements.txt`
# See the pip requirements file documentation for details:
# https://pip.pypa.io/en/stable/user_guide/#requirements-files
#
# Tests run on the previous and current (latest) version of Ansible.
ansible>=2.10
# Some Jinja2 filters are used that are available in the newer releases.
jinja2>=2.11.2
# Pinning ansible-compat version due to [bug](https://github.com/ansible-community/molecule/issues/3903)
ansible-compat == 3.0.2
molecule == 5.*
molecule-plugins[docker] == 23.*
ansible-lint == 6.*
paramiko == 3.*

View File

@ -3,17 +3,15 @@
#
[tox]
minversion = 4.2.4
envlist = py{310}-ansible{5,6,7}
envlist = py{310}-ansible{5}
skipsdist = true
[testenv]
deps =
-rrequirements.txt
ansible5: ansible == 5.*
ansible6: ansible == 6.*
ansible7: ansible == 7.*
molecule[docker]
docker == 6.*
ansible-lint == 6.*
commands = molecule test
setenv =
TOX_ENVNAME={envname}