ae340128e6
The Juniper device support allows ansible_host variable to not be set for a switch, in which case the inventory_hostname will be used instead. This change applies this default consistently across all switch types. Change-Id: Ibc1e673a6b988f2e8d7bb6c62d30ccdb7ce96351 Story: 2004358 Task: 27958
13 lines
403 B
Plaintext
13 lines
403 B
Plaintext
---
|
|
# Switch configuration.
|
|
|
|
###############################################################################
|
|
# Authentication configuration.
|
|
|
|
# For DellOS switches, this defines a 'provider' argument to the
|
|
# dell_powerconnect_switch role.
|
|
switch_dell_powerconnect_provider:
|
|
host: "{{ ansible_host|default(inventory_hostname) }}"
|
|
username: "{{ ansible_user }}"
|
|
auth_pass: "{{ switch_auth_pass }}"
|