Deploy adhoc backups to all hosts
This commit is contained in:
parent
f66bd95fbb
commit
a2d24e03cd
@ -11,7 +11,7 @@ resource "nomad_job" "backup" {
|
||||
|
||||
resource "nomad_job" "backup-oneoff" {
|
||||
# TODO: Get list of nomad hosts dynamically
|
||||
for_each = toset(["n1", "n2"])
|
||||
for_each = toset(["n1", "n2", "pi4"])
|
||||
# for_each = toset([
|
||||
# for node in data.consul_service.nomad.service :
|
||||
# node.node_name
|
||||
|
Loading…
Reference in New Issue
Block a user