File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 33
33
dest : " /etc/logrotate.d/nginx"
34
34
register : nginx_logrotate_result
35
35
36
- - name : " (Config: All OSs) Ensure NGINX is Running"
37
- meta : flush_handlers
38
-
39
36
- name : " (Config: All OSs) Run Logrotate"
40
37
command : logrotate -f /etc/logrotate.d/nginx
41
38
changed_when : nginx_logrotate_result.changed
Original file line number Diff line number Diff line change 53
53
when : true in nginx_modules.values()
54
54
tags : nginx_install_modules
55
55
56
- - include_tasks : " {{ role_path }}/tasks/conf/debug-output.yml"
57
- when : nginx_debug_output | bool
58
- tags : nginx_debug_output
59
-
60
56
- include_tasks : " {{ role_path }}/tasks/plus/delete-license.yml"
61
57
when :
62
58
- nginx_type == "plus"
63
59
- nginx_delete_license
64
60
tags : nginx_delete_license
65
61
62
+ - name : " (Config: All OSs) Ensure NGINX is Running"
63
+ meta : flush_handlers
64
+
65
+ - include_tasks : " {{ role_path }}/tasks/conf/debug-output.yml"
66
+ when : nginx_debug_output | bool
67
+ tags : nginx_debug_output
68
+
69
+ - include_tasks : " {{ role_path }}/tasks/conf/logrotate.yml"
70
+ when : nginx_logrotate_conf_enable | bool
71
+ tags : nginx_logrotate_config
72
+
66
73
when : nginx_enable | bool
67
74
68
75
- include_tasks : " {{ role_path }}/tasks/amplify/install-amplify.yml"
75
82
- include_tasks : " {{ role_path }}/tasks/unit/install-unit.yml"
76
83
when : nginx_unit_enable | bool
77
84
tags : nginx_install_unit
78
-
79
- - include_tasks : " {{ role_path }}/tasks/conf/logrotate.yml"
80
- when : nginx_logrotate_conf_enable | bool
81
- tags : nginx_logrotate_config
You can’t perform that action at this time.
0 commit comments