Skip to content

Commit 20a910e

Browse files
authored
Add explicit Jinja2 requirement (#382)
Explicitly list Jinja2 `2.11.3` as a requirement, as well as detail the minimum supported version (`2.11.x`).
1 parent 7f04ec6 commit 20a910e

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

.github/workflows/requirements/requirements_molecule.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
ansible-base==2.10.7
2+
jinja2==2.11.3
23
ansible-lint==5.0.5
34
yamllint==1.26.0
45
molecule[docker]==3.3.0

CHANGELOG.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
FEATURES:
66

77
* Replace Ansible community distribution with Ansible base and add the necessary extra collections as a dependency requirement. For reference, these are:
8-
```yaml
9-
---
10-
collections:
11-
- name: community.general
12-
version: 2.3.0
13-
- name: ansible.posix
14-
version: 1.2.0
15-
```
8+
```yaml
9+
---
10+
collections:
11+
- name: community.general
12+
version: 2.3.0
13+
- name: ansible.posix
14+
version: 1.2.0
15+
```
16+
* Explicitly list Jinja2 `2.11.3` as a requirement, as well as detail the minimum supported version (`2.11.x`).
1617
* Add support for Dependabot.
1718

1819
ENHANCEMENTS:

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ With the advent of Ansible collections and the release of the [NGINX Core Ansibl
2121

2222
### Ansible
2323

24-
* This role is developed and tested with [maintained](https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html) versions of Ansible base. When using Ansible base, you will also need to install the following collections:
24+
* This role is developed and tested with [maintained](https://docs.ansible.com/ansible/devel/reference_appendices/release_and_maintenance.html) versions of Ansible base (bigger than `2.10`) and Ansible (bigger than `2.9.10`).
25+
* When using Ansible base, you will also need to install the following collections:
2526
```yaml
2627
---
2728
collections:
@@ -30,12 +31,17 @@ With the advent of Ansible collections and the release of the [NGINX Core Ansibl
3031
- name: ansible.posix
3132
version: 1.2.0
3233
```
33-
**Note:** You can alternatively install the Ansible community distribution if you don't want to manage individual collections.
34+
**Note:** You can alternatively install the Ansible community distribution (what is known as the "old" Ansible) if you don't want to manage individual collections.
3435
* Instructions on how to install Ansible can be found in the [Ansible website](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#upgrading-ansible-from-version-2-9-and-older-to-version-2-10-or-later).
3536
37+
### Jinja2
38+
39+
* This role uses Jinja2 templates. Ansible base installs Jinja2 by default, but depending on your install and/or upgrade path, you might be running an outdated version of Jinja2. The minimum version of Jinja2 required for the role to properly function is `2.11`.
40+
* Instructions on how to install Jinja2 can be found in the [Jinja2 website](https://jinja.palletsprojects.com/en/2.11.x/intro/#installation).
41+
3642
### Molecule
3743

38-
* Molecule `3.x` is used to test the various functionalities of the role.
44+
* Molecule is used to test the various functionalities of the role. The recommended version of Molecule to test this role is `3.3`.
3945
* Instructions on how to install Molecule can be found in the [Molecule website](https://molecule.readthedocs.io/en/latest/installation.html).
4046

4147
## Installation

0 commit comments

Comments
 (0)