diff --git a/CHANGELOG.md b/CHANGELOG.md index e4951710..d91193dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 0.4.1 (Unreleased) +## 0.4.1 (October 25, 2021) BUG FIXES: diff --git a/README.md b/README.md index e1828908..ce093cd4 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,8 @@ This role configures NGINX Open Source and NGINX Plus on your target host. version: 3.8.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 ``` **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. * 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._ +* 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: + +```bash +export NGINX_CRT=$( cat | base64 ) +export NGINX_KEY=$( cat | base64 ) +molecule test -s plus +``` ## Installation