Rename backup jobs to be lower case

This commit is contained in:
IamTheFij 2022-11-04 09:39:08 -07:00
parent 931e2b6e00
commit f9d46faae9
4 changed files with 9 additions and 9 deletions

View File

@ -151,40 +151,40 @@ CONSUL_HTTP_ADDR={{ env "attr.unique.network.ip-address" }}:8500
data = <<EOF
# Current node is {{ env "node.unique.name" }}
{{ if eq (env "node.unique.name") "n2" -}}
# Consul backup
# consul backup
${file("${module_path}/jobs/consul.hcl")}
{{ end -}}
{{ range service "nextcloud" -}}
# Nextcloud .Node {{ .Node }}
# nextcloud .Node {{ .Node }}
{{ if eq .Node (env "node.unique.name") -}}
${file("${module_path}/jobs/nextcloud.hcl")}
{{ end -}}
{{ end -}}
{{ range service "grafana" -}}
# Grafana .Node {{ .Node }}
# grafana .Node {{ .Node }}
{{ if eq .Node (env "node.unique.name") -}}
${file("${module_path}/jobs/grafana.hcl")}
{{ end -}}
{{ end -}}
{{ range service "lldap" -}}
# Lldap .Node {{ .Node }}
# lldap .Node {{ .Node }}
{{ if eq .Node (env "node.unique.name") -}}
${file("${module_path}/jobs/lldap.hcl")}
{{ end -}}
{{ end -}}
{{ range service "sonarr" -}}
# Lldap .Node {{ .Node }}
# sonarr .Node {{ .Node }}
{{ if eq .Node (env "node.unique.name") -}}
${file("${module_path}/jobs/sonarr.hcl")}
{{ end -}}
{{ end -}}
{{ range service "nzbget" -}}
# Lldap .Node {{ .Node }}
# nzbget .Node {{ .Node }}
{{ if eq .Node (env "node.unique.name") -}}
${file("${module_path}/jobs/nzbget.hcl")}
{{ end -}}

View File

@ -1,4 +1,4 @@
job "Consul" {
job "consul" {
schedule = "0 * * * *"
config {

View File

@ -1,4 +1,4 @@
job "Grafana" {
job "grafana" {
schedule = "0 * * * *"
config {

View File

@ -1,4 +1,4 @@
job "Nextcloud" {
job "nextcloud" {
schedule = "0 * * * *"
config {