kayobe/ansible/group_vars/all/switches/dell-powerconnect
Mark Goddard a0bd6320a4 Move group_vars for switches group to all group
There are various playbook group variables used to configure switches,
defined in files in ansible/group_vars/switches/. In Ansible 2.3
it was possible to override these via inventory group variables.
In Ansible 2.4+ this is no longer possible, and inventory group
variables have a lower precedence than playbook group variables.

To resolve this, this change moves the switch configuration defaults to
the all group, as is done for other global defaults. The slight downside
is that these variables enter the namespace of every host, but there
aren't too many of them so it shouldn't be a problem.

Change-Id: I1a580a7b88a3e088aa7d5129290427320401f46b
Story: 2004278
Task: 27827
2018-11-07 09:38:51 +00:00

13 lines
375 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 }}"
username: "{{ ansible_user }}"
auth_pass: "{{ switch_auth_pass }}"