Sha256: 38bd878bb269b71c74b4360acbb3f53699ccc475142b039804881e6e0eefb017

Contents?: true

Size: 1.93 KB

Versions: 4

Compression:

Stored size: 1.93 KB

Contents

{
  "id": "partial:target-ssh",
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "Target information about where to run a bolt action over SSH",
  "type": "object",
  "properties": {
    "hostname": {
      "type": "string",
      "description": "Target identifier"
    },
    "user": {
      "type": "string",
      "description": "Login user"
    },
    "password": {
      "type": "string",
      "description": "Password for SSH transport authentication"
    },
    "private-key-content": {
      "type": "string",
      "description": "Contents of private key for SSH"
    },
    "port": {
      "type": "integer",
      "description": "Connection port"
    },
    "connect-timeout": {
      "type": "integer",
      "description": "How long Bolt should wait when establishing connections"
    },
    "run-as-command": {
      "type": "array",
      "description": "Command elevate permissions",
      "items": {
        "type": "string"
      }
    },
    "run-as": {
      "type": "string",
      "description": "A different user to run commands as after login"
    },
    "tmpdir": {
      "type": "string",
      "description": "The directory to upload and execute temporary files on the target"
    },
    "tty": {
      "type": "boolean",
      "description": "Should bolt use pseudo tty to meet sudoer restrictions"
    },
    "host-key-check": {
      "type": "boolean",
      "description": "Whether to perform host key validation when connecting over SSH"
    },
    "sudo-password": {
      "type": "string",
      "description": "Password to use when changing users via run-as"
    },
    "interpreters": {
      "type": "object",
      "description": "Map of file extensions to remote executable"
    }
  },
  "oneOf": [
    {
      "required": [
        "password"
      ]
    },
    {
      "required": [
        "private-key-content"
      ]
    }
  ],
  "required": [
    "hostname",
    "user"
  ],
  "additionalProperties": false
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bolt-1.27.1 lib/bolt_server/schemas/partials/target-ssh.json
bolt-1.27.0 lib/bolt_server/schemas/partials/target-ssh.json
bolt-1.26.0 lib/bolt_server/schemas/partials/target-ssh.json
bolt-1.25.0 lib/bolt_server/schemas/partials/target-ssh.json