mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|