github.com/rohankumardubey/nomad@v0.11.8/e2e/framework/provisioning/example.json (about)

     1  {
     2    "clients": [
     3      {
     4        "deployment": {
     5          "bundles": [
     6            {
     7              "destination": "/ops/shared",
     8              "source": "/home/me/nomad_src/e2e/terraform/shared"
     9            }
    10          ],
    11          "nomad_sha": "126b86557353054cc40db474a688a27281aa85e6",
    12          "platform": "linux_amd64",
    13          "remote_binary_path": "/usr/local/bin/nomad",
    14          "steps": [
    15            "sudo chmod +x /ops/shared/provision-client.sh",
    16            "sudo /ops/shared/config/provision-client.sh aws '126b86557353054cc40db474a688a27281aa85e6' 'indexed/client-0.hcl'"
    17          ]
    18        },
    19        "runner": {
    20          "host": "192.168.1.101",
    21          "key": "/home/me/nomad_src/e2e/terraform/keys/random-animal.pem",
    22          "port": 22,
    23          "user": "ubuntu"
    24        }
    25      }
    26    ],
    27    "servers": [
    28      {
    29        "deployment": {
    30          "bundles": [
    31            {
    32              "destination": "/ops/shared",
    33              "source": "/home/me/nomad_src/e2e/terraform/shared"
    34            }
    35          ],
    36          "nomad_sha": "126b86557353054cc40db474a688a27281aa85e6",
    37          "platform": "linux_amd64",
    38          "remote_binary_path": "/usr/local/bin/nomad",
    39          "steps": [
    40            "sudo chmod +x /ops/shared/config/provision-server.sh",
    41            "sudo /ops/shared/config/provision-server.sh aws 1 '126b86557353054cc40db474a688a27281aa85e6' 'indexed/server-0.hcl'"
    42          ]
    43        },
    44        "runner": {
    45          "host": "192.168.1.102",
    46          "key": "/home/me/nomad_src/e2e/terraform/keys/random-animal.pem",
    47          "port": 22,
    48          "user": "ubuntu"
    49        }
    50      }
    51    ]
    52  }