Skip to main content

Remote Location

Location in GUI: Operations » Remote Locations

Diagram

Classes

ndo

NameTypeConstraintMandatoryDefault Value
remote_locationsList[remote_locations]No

remote_locations (ndo)

NameTypeConstraintMandatoryDefault Value
nameStringYes
descriptionStringNo
hostname_ipStringYes
portIntegermin: 0, max: 65535No22
protocolChoicescp, sftpNosftp
pathStringNo/
authenticationChoicepassword, sshKeyNopassword
usernameStringNo
passwordAnyString or NullNo
ssh_keyAnyString or NullNo
passphraseAnyString or NullNo

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