mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 14:20:22 -07:00
fix missing ident in provider dict assignment (#21089)
Thanks @bverschueren!
This commit is contained in:
parent
9ddc94d0e9
commit
3b64bff7a5
1 changed files with 14 additions and 14 deletions
|
@ -69,10 +69,10 @@ The following two config modules are essentially identical (using nxos_config) a
|
||||||
---
|
---
|
||||||
vars:
|
vars:
|
||||||
cli:
|
cli:
|
||||||
host: "{{ inventory_hostname }}"
|
host: "{{ inventory_hostname }}"
|
||||||
username: "{{ ansible_ssh_user }}"
|
username: "{{ ansible_ssh_user }}"
|
||||||
password: "{{ ansible_ssh_pass }} "
|
password: "{{ ansible_ssh_pass }} "
|
||||||
transport: cli
|
transport: cli
|
||||||
|
|
||||||
|
|
||||||
nxos_config:
|
nxos_config:
|
||||||
|
@ -84,10 +84,10 @@ Given the above two examples that are equivalent, the arguments can also be used
|
||||||
---
|
---
|
||||||
vars:
|
vars:
|
||||||
cli:
|
cli:
|
||||||
host: "{{ inventory_hostname }}"
|
host: "{{ inventory_hostname }}"
|
||||||
username: operator
|
username: operator
|
||||||
password: secret
|
password: secret
|
||||||
transport: cli
|
transport: cli
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- nxos_config:
|
- nxos_config:
|
||||||
|
@ -105,10 +105,10 @@ This is true for all values in the provider including transport. So you could h
|
||||||
---
|
---
|
||||||
vars:
|
vars:
|
||||||
cli:
|
cli:
|
||||||
host: "{{ inventory_hostname }}"
|
host: "{{ inventory_hostname }}"
|
||||||
username: operator
|
username: operator
|
||||||
password: secret
|
password: secret
|
||||||
transport: cli
|
transport: cli
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- nxos_config:
|
- nxos_config:
|
||||||
|
@ -121,8 +121,8 @@ If all values are provided via the provider argument, the rules for requirements
|
||||||
---
|
---
|
||||||
vars:
|
vars:
|
||||||
conn:
|
conn:
|
||||||
password: cisco_pass
|
password: cisco_pass
|
||||||
transport: cli
|
transport: cli
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- nxos_config:
|
- nxos_config:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue