Skip to content

Commit 8a0601f

Browse files
authored
Bump Ansible collections (#272)
1 parent 7e8817b commit 8a0601f

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

.ansible-lint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
---
2+
offline: true
23
skip_list:
34
- yaml[line-length]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
22
collections:
33
- name: community.general
4-
version: 5.1.1
4+
version: 5.5.0
55
- name: ansible.posix
66
version: 1.4.0
77
- name: community.docker
8-
version: 2.6.0
8+
version: 3.1.0

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
ENHANCEMENTS:
66

7-
* Bump the Ansible `community.general` collection to `5.1.1`, `ansible.posix` collection to `1.4.0` and `community.docker` collection to `2.6.0`.
7+
* Bump the Ansible `community.general` collection to `5.5.0`, `ansible.posix` collection to `1.4.0` and `community.docker` collection to `3.1.0`.
88
* Add support for the latest NGINX Plus R26 directives:
99
* `auth_jwt_require` now allows you to optionally set the `error` code you wish to return.
1010
* `health_check` now lets you set a `keepalive_time`.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ This role configures NGINX Open Source and NGINX Plus on your target host.
2121
---
2222
collections:
2323
- name: community.general
24-
version: 5.1.1
24+
version: 5.5.0
2525
- name: ansible.posix
2626
version: 1.4.0
2727
- name: community.docker # Only required if you plan to use Molecule (see below)
28-
version: 2.6.0
28+
version: 3.1.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.

molecule/plus/prepare.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
tasks:
66
- name: Create ephemeral license certificate file from b64 decoded env var
77
ansible.builtin.copy:
8-
content: "{{ lookup('env','NGINX_CRT') | b64decode }}"
8+
content: "{{ lookup('env', 'NGINX_CRT') | b64decode }}"
99
dest: ../common/files/license/nginx-repo.crt
1010
force: false
1111
mode: 0444
1212

1313
- name: Create ephemeral license key file from b64 decoded env var
1414
ansible.builtin.copy:
15-
content: "{{ lookup('env','NGINX_KEY') | b64decode }}"
15+
content: "{{ lookup('env', 'NGINX_KEY') | b64decode }}"
1616
dest: ../common/files/license/nginx-repo.key
1717
force: false
1818
mode: 0444

tasks/config/template-config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
ansible.builtin.template:
1212
src: "{{ item.template_file | default('www/index.html.j2') }}"
1313
dest: "{{ item.deployment_location | default('/usr/share/nginx/html/index.html') }}"
14-
backup: "{{ item.backup | default(true) }}"
14+
backup: "{{ item.backup | default(true) }}"
1515
mode: 0644
1616
loop: "{{ nginx_config_html_demo_template }}"
1717
when: nginx_config_html_demo_template_enable | bool
@@ -38,7 +38,7 @@
3838
ansible.builtin.template:
3939
src: "{{ nginx_config_main_template.template_file | default('nginx.conf.j2') }}"
4040
dest: "{{ nginx_config_main_template.deployment_location | default('/etc/nginx/nginx.conf') }}"
41-
backup: "{{ nginx_config_main_template.backup | default(true) }}"
41+
backup: "{{ nginx_config_main_template.backup | default(true) }}"
4242
mode: 0644
4343
when: nginx_config_main_template_enable | bool
4444
notify: (Handler - NGINX Config) Run NGINX
@@ -81,7 +81,7 @@
8181
ansible.builtin.template:
8282
src: "{{ item.template_file | default('http/default.conf.j2') }}"
8383
dest: "{{ item.deployment_location | default('/etc/nginx/conf.d/default.conf') }}"
84-
backup: "{{ item.backup | default(true) }}"
84+
backup: "{{ item.backup | default(true) }}"
8585
mode: 0644
8686
loop: "{{ nginx_config_http_template }}"
8787
loop_control:

tasks/config/upload-config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
path: "{{ item.dest }}"
4545
state: directory
4646
mode: 0755
47-
loop: "{{ nginx_config_upload_ssl_crt + nginx_config_upload_ssl_key }}"
47+
loop: "{{ nginx_config_upload_ssl_crt + nginx_config_upload_ssl_key }}"
4848

4949
- name: Upload NGINX SSL certificates
5050
ansible.builtin.copy:

0 commit comments

Comments
 (0)