Skip to content

Commit 2cb31c6

Browse files
authored
Bump Ansible collections (#170)
1 parent d116664 commit 2cb31c6

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
collections:
33
- name: community.general
4-
version: 3.2.0
4+
version: 3.7.0
55
- name: ansible.posix
6-
version: 1.2.0
6+
version: 1.3.0
77
- name: community.docker
8-
version: 1.7.0
8+
version: 1.9.1

CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Template engine updates:
3535
- core: {}
3636
proxy: {}
3737
```
38+
3839
* Check [`defaults/main/template.yml`](https://github.com/nginxinc/ansible-role-nginx-config/blob/main/defaults/main/template.yml) and [`molecule/default/converge.yml`](https://github.com/nginxinc/ansible-role-nginx-config/blob/main/molecule/default/converge.yml) for examples!
3940
* Refactor the base config templates to simplify the creation of templates as well as development and maintenance moving forward:
4041
* Modify `servers`, `servers.listen`, `server.locations`, `upstream` and `upstream.servers` from nested dictionaries in the `http` and `stream` configuration templates to lists.
@@ -108,6 +109,7 @@ Template engine updates:
108109
- regex: (.*).html(.*)
109110
replacement: $1$2
110111
```
112+
111113
* The `return` directive has transitioned from a slightly complex dictionary structure (wherein the `location` variable didn't necessarily have any effect)
112114

113115
```yaml
@@ -141,6 +143,7 @@ Template engine updates:
141143
- string: server_hostname
142144
replacement: $hostname
143145
```
146+
144147
* Removed the `server.http_demo_conf` dictionary. Use `server.sub_filters` instead:
145148

146149
```yaml
@@ -167,6 +170,7 @@ Template engine updates:
167170
- string: proxied_for_ip
168171
replacement: $http_x_forwarded_for
169172
```
173+
170174
* The `sub_filter` dictionary HTTP context now lives in the HTTP template config instead of the Main template config.
171175
* Rename some NGINX template config parameters to align with NGINX directive names:
172176
* Rename `html_file_location` to `root`.
@@ -186,11 +190,11 @@ FEATURES:
186190
---
187191
collections:
188192
- name: community.general
189-
version: 3.2.0
193+
version: 3.7.0
190194
- name: ansible.posix
191-
version: 1.2.0
195+
version: 1.3.0
192196
- name: community.docker # This collection is only used as part of the Molecule testing suite
193-
version: 1.7.0
197+
version: 1.9.1
194198
```
195199

196200
* Explicitly list Jinja2 `2.11.3` as a requirement, as well as detail the minimum supported version (`2.11.x`).

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ This role configures NGINX Open Source and NGINX Plus on your target host.
2323
---
2424
collections:
2525
- name: community.general
26-
version: 3.2.0
26+
version: 3.7.0
2727
- name: ansible.posix
28-
version: 1.2.0
28+
version: 1.3.0
2929
```
3030
3131
**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.

0 commit comments

Comments
 (0)