Skip to content

Commit ad568a6

Browse files
committed
Prepare 0.4.1 release
1 parent 423780c commit ad568a6

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 0.4.1 (Unreleased)
3+
## 0.4.1 (October 25, 2021)
44

55
BUG FIXES:
66

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ This role configures NGINX Open Source and NGINX Plus on your target host.
2626
version: 3.8.0
2727
- name: ansible.posix
2828
version: 1.3.0
29+
- name: community.docker # Only required if you plan to use Molecule (see below)
30+
version: 2.0.0
2931
```
3032
3133
**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.
@@ -40,6 +42,15 @@ This role configures NGINX Open Source and NGINX Plus on your target host.
4042

4143
* Molecule is used to test the various functionalities of the role. The recommended version of Molecule to test this role is `3.3`.
4244
* 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._
45+
* 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.
46+
47+
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:
48+
49+
```bash
50+
export NGINX_CRT=$( cat <path to your certificate file> | base64 )
51+
export NGINX_KEY=$( cat <path to your key file> | base64 )
52+
molecule test -s plus
53+
```
4354

4455
## Installation
4556

0 commit comments

Comments
 (0)