Skip to content

Commit b4dc63b

Browse files
Bump ansible-lint from 6.5.2 to 6.7.0 in /.github/workflows/requirements (#276)
1 parent 9985df1 commit b4dc63b

File tree

8 files changed

+15
-13
lines changed

8 files changed

+15
-13
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
---
22
collections:
3-
- name: community.general
4-
version: 5.5.0
53
- name: ansible.posix
64
version: 1.4.0
5+
- name: community.crypto
6+
version: 2.5.0
77
- name: community.docker
88
version: 3.1.0
9+
- name: community.general
10+
version: 5.5.0
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ansible-core==2.13.4
22
Jinja2==3.1.2
3-
ansible-lint==6.5.2
3+
ansible-lint==6.7.0
44
yamllint==1.28.0
55
molecule[docker]==4.0.1
66
docker==6.0.0

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ TESTS:
1717

1818
* Update GitHub actions to only skip \*plus\* scenarios when the NGINX Plus license secrets are not present (it used to only run the NGINX Plus test scenarios during internal PRs).
1919
* Remove Yamllint (Ansible Lint now incorporates Yamllint).
20-
* Skip Ansible Lint line length rule.
20+
* Skip Ansible Lint line length rules. Slightly refactor code to incorporate changes added to Ansible Lint 6.7.0.
2121

2222
## 0.5.1 (April 6, 2022)
2323

Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
roles:
33
- name: nginxinc.nginx
4-
version: 0.23.0
4+
version: 0.23.2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
roles:
33
- name: nginxinc.nginx
4-
version: 0.23.0
4+
version: 0.23.2
55
- name: nginxinc.nginx_app_protect
6-
version: 0.7.1
6+
version: 0.8.1

molecule/plus/prepare.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
hosts: localhost
44
gather_facts: false
55
tasks:
6-
- name: Create ephemeral license certificate file from b64 decoded env var
6+
- name: Create ephemeral license certificate file from b64 decoded env var # noqa template-instead-of-copy
77
ansible.builtin.copy:
88
content: "{{ lookup('env', 'NGINX_CRT') | b64decode }}"
99
dest: ../common/files/license/nginx-repo.crt
1010
force: false
1111
mode: 0444
1212

13-
- name: Create ephemeral license key file from b64 decoded env var
13+
- name: Create ephemeral license key file from b64 decoded env var # noqa template-instead-of-copy
1414
ansible.builtin.copy:
1515
content: "{{ lookup('env', 'NGINX_KEY') | b64decode }}"
1616
dest: ../common/files/license/nginx-repo.key

molecule/plus/verify.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
failed_when: (service is changed) or (service is failed)
2121

2222
- name: Functional tests
23+
when: ansible_os_family != "Alpine"
2324
block:
2425
- name: Check that a page returns a status 200 and fail if the words Hello World are not in the page contents
2526
ansible.builtin.uri:
@@ -40,7 +41,6 @@
4041
register: event
4142
changed_when: false
4243
failed_when: event.stdout == "0"
43-
when: ansible_os_family != "Alpine"
4444

4545
- name: Check default.conf exists
4646
ansible.builtin.stat:

tasks/config/upload-config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
- name: Upload NGINX config snippets
3+
when: nginx_config_upload_enable | bool
34
block:
45
- name: Ensure NGINX config snippet directories exist
56
ansible.builtin.file:
@@ -16,9 +17,9 @@
1617
mode: 0644
1718
loop: "{{ nginx_config_upload }}"
1819
notify: (Handler - NGINX Config) Run NGINX
19-
when: nginx_config_upload_enable | bool
2020

2121
- name: Upload HTML files
22+
when: nginx_config_upload_html_enable | bool
2223
block:
2324
- name: Ensure HTML directory exists
2425
ansible.builtin.file:
@@ -35,9 +36,9 @@
3536
mode: 0644
3637
loop: "{{ nginx_config_upload_html }}"
3738
notify: (Handler - NGINX Config) Run NGINX
38-
when: nginx_config_upload_html_enable | bool
3939

4040
- name: Upload NGINX SSL certificates and keys
41+
when: nginx_config_upload_ssl_enable | bool
4142
block:
4243
- name: Ensure SSL certificate and key directories exist
4344
ansible.builtin.file:
@@ -62,4 +63,3 @@
6263
mode: 0640
6364
loop: "{{ nginx_config_upload_ssl_key }}"
6465
no_log: true
65-
when: nginx_config_upload_ssl_enable | bool

0 commit comments

Comments
 (0)