Skip to content

Commit

Permalink
Corrected Ubuntu 16.04 checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Respheal committed Sep 10, 2020
1 parent 4836f74 commit 5e97cd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/monitrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ set daemon 30 # check services at 30 seconds intervals

{% if ansible_os_family == "Debian"
and (ansible_distribution_major_version == "9"
or ansible_distribution_major_version == "16.04") %}
or ansible_distribution_version == "16.04") %}
set logfile /var/log/monit.log
{% else %}
set log /var/log/monit.log
Expand Down

0 comments on commit 5e97cd3

Please sign in to comment.