You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ Template engine updates:
35
35
- core: {}
36
36
proxy: {}
37
37
```
38
+
38
39
* 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!
39
40
* Refactor the base config templates to simplify the creation of templates as well as development and maintenance moving forward:
40
41
* 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:
108
109
- regex: (.*).html(.*)
109
110
replacement: $1$2
110
111
```
112
+
111
113
* The `return` directive has transitioned from a slightly complex dictionary structure (wherein the `location` variable didn't necessarily have any effect)
112
114
113
115
```yaml
@@ -141,6 +143,7 @@ Template engine updates:
141
143
- string: server_hostname
142
144
replacement: $hostname
143
145
```
146
+
144
147
* Removed the `server.http_demo_conf` dictionary. Use `server.sub_filters` instead:
145
148
146
149
```yaml
@@ -167,6 +170,7 @@ Template engine updates:
167
170
- string: proxied_for_ip
168
171
replacement: $http_x_forwarded_for
169
172
```
173
+
170
174
* The `sub_filter` dictionary HTTP context now lives in the HTTP template config instead of the Main template config.
171
175
* Rename some NGINX template config parameters to align with NGINX directive names:
172
176
* Rename `html_file_location` to `root`.
@@ -186,11 +190,11 @@ FEATURES:
186
190
---
187
191
collections:
188
192
- name: community.general
189
-
version: 3.2.0
193
+
version: 3.7.0
190
194
- name: ansible.posix
191
-
version: 1.2.0
195
+
version: 1.3.0
192
196
- 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
194
198
```
195
199
196
200
* Explicitly list Jinja2 `2.11.3` as a requirement, as well as detail the minimum supported version (`2.11.x`).
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,9 @@ This role configures NGINX Open Source and NGINX Plus on your target host.
23
23
---
24
24
collections:
25
25
- name: community.general
26
-
version: 3.2.0
26
+
version: 3.7.0
27
27
- name: ansible.posix
28
-
version: 1.2.0
28
+
version: 1.3.0
29
29
```
30
30
31
31
**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