Skip to content

Commit

Permalink
Bump Ansible collections (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessfg authored Feb 17, 2022
1 parent ac442ba commit 768e626
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/requirements/requirements_ansible.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
collections:
- name: community.general
version: 3.8.0
version: 4.4.0
- name: ansible.posix
version: 1.3.0
- name: community.docker
version: 2.0.0
version: 2.1.1
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ FEATURES:
* Add `backup` variable to template and upload parameters. Set to `false` if you don't want to keep backups of your previous NGINX config files.
* Automatically create a NGINX `client_body_temp_path` directory if your NGINX config uses the directive.

ENHANCEMENTS:

Bump the Ansible `community.general` collection to `4.4.0` and `community.docker` collection to `2.1.1`.

BUG FIXES:

* Fix a bug when using a single `custom_directives` entry and the http template.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ This role configures NGINX Open Source and NGINX Plus on your target host.
---
collections:
- name: community.general
version: 3.8.0
version: 4.4.0
- name: ansible.posix
version: 1.3.0
- name: community.docker # Only required if you plan to use Molecule (see below)
version: 2.0.0
version: 2.1.1
```
**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.
Expand All @@ -39,7 +39,7 @@ This role configures NGINX Open Source and NGINX Plus on your target host.
### Molecule (Optional)

* Molecule is used to test the various functionalities of the role. The recommended version of Molecule to test this role is `3.3`.
* Instructions on how to install Molecule can be found in the [Molecule website](https://molecule.readthedocs.io/en/latest/installation.html). _You will also need to install the Molecule Docker driver._
* Instructions on how to install Molecule can be found in the [Molecule website](https://molecule.readthedocs.io/en/latest/installation.html). *You will also need to install the Molecule Docker driver.*
* To run the NGINX Plus/App Protect config Molecule tests, you must copy your NGINX Plus/App Protect license to the role's [`files/license`](https://github.com/nginxinc/ansible-role-nginx-config/blob/main/files/license/) folder.

You can alternatively add your NGINX Plus/App Protect repository certificate and key to the local environment. Run the following commands to export these files as base64-encoded variables and execute the Molecule tests:
Expand Down Expand Up @@ -168,4 +168,4 @@ You can find the Ansible NGINX Unit role to install NGINX Unit [here](https://gi

[Alessandro Fael Garcia](https://github.com/alessfg)

© [F5 Networks, Inc.](https://www.f5.com/) 2020 - 2021
© [F5 Networks, Inc.](https://www.f5.com/) 2020 - 2022
2 changes: 1 addition & 1 deletion molecule/common/requirements/oss_requirements.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
roles:
- name: nginxinc.nginx
version: 0.22.0
version: 0.23.0
6 changes: 2 additions & 4 deletions molecule/common/requirements/plus_requirements.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
roles:
- name: nginxinc.nginx
version: 0.22.0
version: 0.23.0
- name: nginxinc.nginx_app_protect
# version: 0.7.0
src: https://github.com/nginxinc/ansible-role-nginx-app-protect
version: bf514e6
version: 0.7.1

0 comments on commit 768e626

Please sign in to comment.