File tree 8 files changed +15
-13
lines changed
.github/workflows/requirements
8 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
collections :
3
- - name : community.general
4
- version : 5.5.0
5
3
- name : ansible.posix
6
4
version : 1.4.0
5
+ - name : community.crypto
6
+ version : 2.5.0
7
7
- name : community.docker
8
8
version : 3.1.0
9
+ - name : community.general
10
+ version : 5.5.0
Original file line number Diff line number Diff line change 1
1
ansible-core==2.13.4
2
2
Jinja2==3.1.2
3
- ansible-lint==6.5.2
3
+ ansible-lint==6.7.0
4
4
yamllint==1.28.0
5
5
molecule[docker]==4.0.1
6
6
docker==6.0.0
Original file line number Diff line number Diff line change 17
17
18
18
* 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).
19
19
* 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 .
21
21
22
22
## 0.5.1 (April 6, 2022)
23
23
Original file line number Diff line number Diff line change 1
1
---
2
2
roles :
3
3
- name : nginxinc.nginx
4
- version : 0.23.0
4
+ version : 0.23.2
Original file line number Diff line number Diff line change 1
1
---
2
2
roles :
3
3
- name : nginxinc.nginx
4
- version : 0.23.0
4
+ version : 0.23.2
5
5
- name : nginxinc.nginx_app_protect
6
- version : 0.7 .1
6
+ version : 0.8 .1
Original file line number Diff line number Diff line change 3
3
hosts : localhost
4
4
gather_facts : false
5
5
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
7
7
ansible.builtin.copy :
8
8
content : " {{ lookup('env', 'NGINX_CRT') | b64decode }}"
9
9
dest : ../common/files/license/nginx-repo.crt
10
10
force : false
11
11
mode : 0444
12
12
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
14
14
ansible.builtin.copy :
15
15
content : " {{ lookup('env', 'NGINX_KEY') | b64decode }}"
16
16
dest : ../common/files/license/nginx-repo.key
Original file line number Diff line number Diff line change 20
20
failed_when : (service is changed) or (service is failed)
21
21
22
22
- name : Functional tests
23
+ when : ansible_os_family != "Alpine"
23
24
block :
24
25
- name : Check that a page returns a status 200 and fail if the words Hello World are not in the page contents
25
26
ansible.builtin.uri :
40
41
register : event
41
42
changed_when : false
42
43
failed_when : event.stdout == "0"
43
- when : ansible_os_family != "Alpine"
44
44
45
45
- name : Check default.conf exists
46
46
ansible.builtin.stat :
Original file line number Diff line number Diff line change 1
1
---
2
2
- name : Upload NGINX config snippets
3
+ when : nginx_config_upload_enable | bool
3
4
block :
4
5
- name : Ensure NGINX config snippet directories exist
5
6
ansible.builtin.file :
16
17
mode : 0644
17
18
loop : " {{ nginx_config_upload }}"
18
19
notify : (Handler - NGINX Config) Run NGINX
19
- when : nginx_config_upload_enable | bool
20
20
21
21
- name : Upload HTML files
22
+ when : nginx_config_upload_html_enable | bool
22
23
block :
23
24
- name : Ensure HTML directory exists
24
25
ansible.builtin.file :
35
36
mode : 0644
36
37
loop : " {{ nginx_config_upload_html }}"
37
38
notify : (Handler - NGINX Config) Run NGINX
38
- when : nginx_config_upload_html_enable | bool
39
39
40
40
- name : Upload NGINX SSL certificates and keys
41
+ when : nginx_config_upload_ssl_enable | bool
41
42
block :
42
43
- name : Ensure SSL certificate and key directories exist
43
44
ansible.builtin.file :
62
63
mode : 0640
63
64
loop : " {{ nginx_config_upload_ssl_key }}"
64
65
no_log : true
65
- when : nginx_config_upload_ssl_enable | bool
You can’t perform that action at this time.
0 commit comments