We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f59c9c commit b3dba9bCopy full SHA for b3dba9b
1 file changed
services/nomad/build/buildsync.nomad
@@ -37,7 +37,7 @@ job "buildsync" {
37
template {
38
data = <<EOF
39
{{- with nomadVar "nomad/jobs/buildsync" -}}
40
-{{.${group.value}_password}}
+{{.password}}
41
{{- end -}}
42
EOF
43
destination = "secrets/rsync_passwd"
@@ -56,7 +56,7 @@ sync {
56
default.rsync,
57
source = "/hostdir/sources",
58
{{- range nomadService 1 $allocID "build-rsyncd" -}}
59
- target = "rsync://buildsync-${group.value}@{{ .Address }}:{{ .Port }}/sources",
+ target = "rsync://buildsync@{{ .Address }}:{{ .Port }}/sources",
60
61
delay = 15,
62
filter = {
0 commit comments