8f18ca45f1
We set the ansible_ssh_user and ansible_ssh_pass at the inventory level, commenting these out to avoid precedence issue.
12 lines
351 B
YAML
12 lines
351 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
|