Skip to content

Commit 61cad00

Browse files
authored
Update upstream versions of NGINX and NGINX App Protect roles (#176)
1 parent ccf63bb commit 61cad00

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
roles:
33
- name: nginxinc.nginx
4-
version: 0.21.0
4+
version: 0.21.2
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
roles:
33
- name: nginxinc.nginx
4-
version: 0.21.0
4+
version: 0.21.2
55
- name: nginxinc.nginx_app_protect
6-
version: 0.6.0
6+
version: 0.6.1

molecule/plus/prepare.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,21 @@
2020
- name: Install NGINX Plus
2121
hosts: all
2222
tasks:
23+
- name: Set repo if Debian
24+
set_fact:
25+
version: "=24-2~{{ ansible_facts['distribution_release'] }}"
26+
when: ansible_facts['os_family'] == "Debian"
27+
- name: Set repo if Red Hat
28+
set_fact:
29+
version: "-24-2.{{ (ansible_facts['distribution']=='Amazon') | ternary('amzn2', ('el' + ansible_facts['distribution_major_version'] | string)) }}.ngx"
30+
when: ansible_facts['os_family'] == "RedHat"
31+
2332
- name: Install NGINX
2433
include_role:
2534
name: nginxinc.nginx
2635
vars:
2736
nginx_type: plus
37+
nginx_version: "{{ version }}"
2838
nginx_license:
2939
certificate: ../common/files/license/nginx-repo.crt
3040
key: ../common/files/license/nginx-repo.key
@@ -40,7 +50,3 @@
4050
nginx_app_protect_remove_license: false
4151
nginx_app_protect_install_signatures: false
4252
nginx_app_protect_install_threat_campaigns: false
43-
nginx_app_protect_configure: true
44-
nginx_app_protect_security_policy_template_enable: true
45-
nginx_app_protect_security_policy_enforcement_mode: blocking
46-
nginx_app_protect_log_policy_template_enable: false

0 commit comments

Comments
 (0)