File tree Expand file tree Collapse file tree 1 file changed +33
-33
lines changed Expand file tree Collapse file tree 1 file changed +33
-33
lines changed Original file line number Diff line number Diff line change 49
49
notify : " (Handler: All OSs) Start NGINX Unit"
50
50
51
51
- name : " (Install: Debian Jessie) Install NGINX Unit"
52
- package :
53
- name : " {{ item }}"
54
- state : present
55
- with_items :
56
- - unit-php
57
- - unit-python2.7
58
- - unit-python3.4
59
- - unit-perl
60
- when : ansible_distribution == "Debian" and ansible_distribution_major_version|int == 8
61
- notify : " (Handler: All OSs) Start NGINX Unit"
52
+ package :
53
+ name : " {{ item }}"
54
+ state : present
55
+ with_items :
56
+ - unit-php
57
+ - unit-python2.7
58
+ - unit-python3.4
59
+ - unit-perl
60
+ when : ansible_distribution == "Debian" and ansible_distribution_major_version|int == 8
61
+ notify : " (Handler: All OSs) Start NGINX Unit"
62
62
63
63
- name : " (Install: Debian Stretch) Install NGINX Unit"
64
- package :
65
- name : " {{ item }}"
66
- state : present
67
- with_items :
68
- - unit-php
69
- - unit-python2.7
70
- - unit-python3.5
71
- - unit-go1.7
72
- - unit-go1.8
73
- - unit-perl
74
- when : ansible_distribution == "Debian" and ansible_distribution_major_version|int == 9
75
- notify : " (Handler: All OSs) Start NGINX Unit"
64
+ package :
65
+ name : " {{ item }}"
66
+ state : present
67
+ with_items :
68
+ - unit-php
69
+ - unit-python2.7
70
+ - unit-python3.5
71
+ - unit-go1.7
72
+ - unit-go1.8
73
+ - unit-perl
74
+ when : ansible_distribution == "Debian" and ansible_distribution_major_version|int == 9
75
+ notify : " (Handler: All OSs) Start NGINX Unit"
76
76
77
77
- name : " (Install: Ubuntu) Install NGINX Unit"
78
- package :
79
- name : " {{ item }}"
80
- state : present
81
- with_items :
82
- - unit-php
83
- - unit-python2.7
84
- - unit-python3.5
85
- - unit-go
86
- - unit-perl
87
- when : ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int == 16
88
- notify : " (Handler: All OSs) Start NGINX Unit"
78
+ package :
79
+ name : " {{ item }}"
80
+ state : present
81
+ with_items :
82
+ - unit-php
83
+ - unit-python2.7
84
+ - unit-python3.5
85
+ - unit-go
86
+ - unit-perl
87
+ when : ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int == 16
88
+ notify : " (Handler: All OSs) Start NGINX Unit"
You can’t perform that action at this time.
0 commit comments