File tree Expand file tree Collapse file tree 3 files changed +25
-22
lines changed Expand file tree Collapse file tree 3 files changed +25
-22
lines changed Original file line number Diff line number Diff line change 14
14
- import_tasks : plus/install-plus.yml
15
15
when : type == "plus"
16
16
17
- - import_tasks : modules/install-njs.yml
18
- when : modules.njs
19
-
20
- - import_tasks : modules/install-perl.yml
21
- when : modules.perl
22
-
23
- - import_tasks : modules/install-geoip.yml
24
- when : modules.geoip
25
-
26
- - import_tasks : modules/install-image-filter.yml
27
- when : modules.image_filter
28
-
29
- - import_tasks : modules/install-rtmp.yml
30
- when : modules.rtmp
31
-
32
- - import_tasks : modules/install-xslt.yml
33
- when : modules.xslt
34
-
35
- - import_tasks : modules/install-waf.yml
36
- when : modules.waf and type == "plus"
17
+ - import_tasks : modules/install-modules.yml
18
+ when : true in modules.values()
37
19
38
20
- import_tasks : conf/push-config.yml
39
21
when : main_push_enable or http_push_enable or stream_push_enable
Original file line number Diff line number Diff line change 1
1
---
2
2
- name : " (Install: All OSs) Install NGINX Open Source GeoIP Module"
3
3
package :
4
- name : nginx-geoip-perl
4
+ name : nginx-module-geoip
5
5
state : present
6
6
when : type == "opensource"
7
7
8
8
- name : " (Install: All OSs) Install NGINX Plus GeoIP Module"
9
9
package :
10
- name : nginx-plus-geoip-perl
10
+ name : nginx-plus-module-geoip
11
11
state : present
12
12
when : type == "plus"
13
13
Original file line number Diff line number Diff line change
1
+ ---
2
+ - import_tasks : install-njs.yml
3
+ when : modules.njs | default(false)
4
+
5
+ - import_tasks : install-perl.yml
6
+ when : modules.perl | default(false)
7
+
8
+ - import_tasks : install-geoip.yml
9
+ when : modules.geoip | default(false)
10
+
11
+ - import_tasks : install-image-filter.yml
12
+ when : modules.image_filter | default(false)
13
+
14
+ - import_tasks : install-rtmp.yml
15
+ when : modules.rtmp | default(false)
16
+
17
+ - import_tasks : install-xslt.yml
18
+ when : modules.xslt | default(false)
19
+
20
+ - import_tasks : install-waf.yml
21
+ when : modules.waf | default(false) and type == "plus"
You can’t perform that action at this time.
0 commit comments