kayobe/ansible/group_vars/all/switches/dell-powerconnect
Mark Goddard ae340128e6 Make ansible_host optional for all switch types
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
2018-11-27 18:56:27 +00:00

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 }}"