Remote Location
Location in GUI:
Operations
» Remote Locations
Diagram
Classes
ndo
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
remote_locations | List | [remote_locations] | No |
remote_locations (ndo)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes | ||
description | String | No | ||
hostname_ip | String | Yes | ||
port | Integer | min: 0 , max: 65535 | No | 22 |
protocol | Choice | scp , sftp | No | sftp |
path | String | No | / | |
authentication | Choice | password , sshKey | No | password |
username | String | No | ||
password | Any | String or Null | No | |
ssh_key | Any | String or Null | No | |
passphrase | Any | String or Null | No |
Examples
Password example:
ndo:
remote_locations:
- name: APIC1
description: APIC1 SCP
hostname_ip: 10.10.10.10
port: 22
protocol: scp
path: /
authentication: password
username: admin
password: !vault |
$ANSIBLE_VAULT;1.1;AES256
32396265303231363335666463353163316465383161636362333432303931393663363764383032
3035303964653162623937393935323766616664663139390a643364643434623533366361633231
31663434333430666631613064306464623135646561626531616538353665393136366434616239
3638643832666631620a646537616130303661323462666366626261383231323033643931626635
3231
SSH example:
ndo:
remote_locations:
- name: APIC1
description: APIC1 SCP
hostname_ip: 10.10.10.10
port: 22
protocol: scp
path: /
authentication: password
username: admin
ssh_key: "-----BEGIN RSA PRIVATE KEY-----\nProc-Type: 4,ENCRYPTED\nDEK-Info: AES-128-CBC,234BAAD9A19386249918BB2C07874AD1\n\nCUqdVbGGnu9XRtHfdVzZ0SvLGaEgkDTvBk5kNnkkSHXjlJTdpjzccD7K8sWKfSR+\n ***[ OMITTED OUTPUT ]*** \nQvCyfRIP8jW8EDic5m7VXWEE9vVxyLhTtH0BOgZNTfzCYhdhHeLXKehS9qqhmoy2\n-----END RSA PRIVATE KEY-----\n"
passphrase: passphrase