Merge "Make ansible_host optional for all switch types"
This commit is contained in:
commit
c3ec38632e
@ -7,7 +7,7 @@
|
||||
# For DellOS switches, this defines a 'provider' argument to the dellos_*
|
||||
# modules.
|
||||
switch_dellos_provider:
|
||||
host: "{{ ansible_host }}"
|
||||
host: "{{ ansible_host|default(inventory_hostname) }}"
|
||||
username: "{{ ansible_user }}"
|
||||
password: "{{ ansible_ssh_pass }}"
|
||||
transport: cli
|
||||
|
@ -7,6 +7,6 @@
|
||||
# For DellOS switches, this defines a 'provider' argument to the
|
||||
# dell_powerconnect_switch role.
|
||||
switch_dell_powerconnect_provider:
|
||||
host: "{{ ansible_host }}"
|
||||
host: "{{ ansible_host|default(inventory_hostname) }}"
|
||||
username: "{{ ansible_user }}"
|
||||
auth_pass: "{{ switch_auth_pass }}"
|
||||
|
@ -7,6 +7,6 @@
|
||||
# For Mellanox switches, this defines a 'provider' argument to the
|
||||
# mellanox-switch role.
|
||||
switch_mellanox_provider:
|
||||
host: "{{ ansible_host }}"
|
||||
host: "{{ ansible_host|default(inventory_hostname) }}"
|
||||
username: "{{ ansible_user }}"
|
||||
auth_pass: "{{ switch_auth_pass }}"
|
||||
|
@ -182,7 +182,7 @@ Configuration for these devices is applied using the ``dellos6_config`` and
|
||||
Provider
|
||||
^^^^^^^^
|
||||
|
||||
* ``ansible_host`` is the hostname or IP address.
|
||||
* ``ansible_host`` is the hostname or IP address. Optional.
|
||||
|
||||
* ``ansible_user`` is the SSH username.
|
||||
|
||||
@ -205,7 +205,7 @@ Configuration for these devices is applied using the
|
||||
Provider
|
||||
^^^^^^^^
|
||||
|
||||
* ``ansible_host`` is the hostname or IP address.
|
||||
* ``ansible_host`` is the hostname or IP address. Optional.
|
||||
|
||||
* ``ansible_user`` is the SSH username.
|
||||
|
||||
@ -254,7 +254,7 @@ Ansible module to automate interaction with the switch CLI via SSH.
|
||||
Provider
|
||||
^^^^^^^^
|
||||
|
||||
* ``ansible_host`` is the hostname or IP address.
|
||||
* ``ansible_host`` is the hostname or IP address. Optional.
|
||||
|
||||
* ``ansible_user`` is the SSH username.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user