f8582c985a
We set the ansible_ssh_user and ansible_ssh_pass on the Junos group. However, that has lower precedence than group_vars. Commenting the group_vars so we have the creds for all Nodepool nodes within the inventory.
12 lines
349 B
YAML
12 lines
349 B
YAML
---
|
|
netconf:
|
|
host: "{{ ansible_ssh_host }}"
|
|
#username: "{{ junos_cli_user | default('ansible') }}"
|
|
#password: "{{ junos_cli_pass | default('Ansible') }}"
|
|
transport: netconf
|
|
|
|
cli:
|
|
host: "{{ ansible_ssh_host }}"
|
|
username: "{{ junos_cli_user | default('ansible') }}"
|
|
password: "{{ junos_cli_pass | default('Ansible') }}"
|
|
transport: cli
|