Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pâquerette
Infrastructure
Ansible Pâquerette
Commits
6c6768f7
Commit
6c6768f7
authored
Nov 28, 2022
by
Julien Gomes Dias
Browse files
Merge branch 'uptime-kuma' into 'master'
[add] Add cron to stop uptime during the night See merge request
!13
parents
7c1c55dc
9436bc59
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/uptime-kuma/tasks/install.yml
View file @
6c6768f7
...
...
@@ -38,3 +38,21 @@
import_role
:
name
:
_app_monit
when
:
monit_request is defined and monit_request != ''
-
name
:
cron to stop uptime-kuma during the night
cron
:
name
:
"
stop
uptime"
hour
:
"
{{
uptime_stop_hour
}}"
minute
:
"
{{
uptime_stop_minute
}}"
job
:
"
/usr/bin/docker
stop
uptime-kuma"
tags
:
-
cron_uptime
-
name
:
"
cron
to
start
uptime-kuma
during
the
night"
cron
:
name
:
"
start
start"
hour
:
"
{{
uptime_start_hour
|
mandatory
}}"
minute
:
"
{{
uptime_start_minute
|
mandatory
}}"
job
:
"
/usr/bin/docker
start
uptime-kuma"
tags
:
-
cron_uptime
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment