Skip to content

Commit cc73221

Browse files
committed
Monit fix
1 parent 50ddbe9 commit cc73221

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,10 @@ nginx_sites:
117117
```
118118
119119
120+
##### Monit ?
121+
You can put Nginx under monit monitoring protection, by setting `monit_protection: yes`
122+
123+
120124
##### Modules
121125

122126
###### gzip module

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
- include: default_site.yml
1010
- include: sites.yml
1111
- include: monit.yml
12-
when: monit_protection == true
12+
when: monit_protection is defined and monit_protection == true

0 commit comments

Comments
 (0)