mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 05:10:22 -07:00
Fixing issues with httpapi (#40388)
* I seem to have forgotten the back half of tests * Set http timeout from persistent_command_timeout * Tweak URL generation and provide URL on error * Push var_options to connection process * Don't wait forever if coming from persistent * Don't send the entire contents of variables to ansible-connection
This commit is contained in:
parent
231c3586bd
commit
483df13626
61 changed files with 46 additions and 390 deletions
|
@ -7,18 +7,15 @@
|
|||
nxos_feature:
|
||||
feature: bgp
|
||||
state: enabled
|
||||
provider: "{{ connection }}"
|
||||
|
||||
- name: Configure feature nv overlay
|
||||
nxos_config:
|
||||
commands: "feature nv overlay"
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Configure nv overlay evpn
|
||||
nxos_config:
|
||||
commands: "nv overlay evpn"
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- block:
|
||||
|
@ -27,7 +24,6 @@
|
|||
vrf: ansible
|
||||
afi: ipv4
|
||||
route_target_both_auto_evpn: True
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: &true
|
||||
|
@ -47,7 +43,6 @@
|
|||
vrf: ansible
|
||||
afi: ipv6
|
||||
route_target_both_auto_evpn: True
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: *true
|
||||
|
@ -63,7 +58,6 @@
|
|||
vrf: ansible
|
||||
afi: ipv4
|
||||
route_target_both_auto_evpn: False
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: *true
|
||||
|
@ -79,7 +73,6 @@
|
|||
vrf: ansible
|
||||
afi: ipv6
|
||||
route_target_both_auto_evpn: False
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: *true
|
||||
|
@ -96,7 +89,6 @@
|
|||
afi: ipv6
|
||||
route_target_both_auto_evpn: True
|
||||
state: absent
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: *true
|
||||
|
@ -116,7 +108,6 @@
|
|||
afi: ipv4
|
||||
route_target_both_auto_evpn: True
|
||||
state: absent
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: *true
|
||||
|
@ -136,26 +127,22 @@
|
|||
- name: Remove vrf
|
||||
nxos_config:
|
||||
commands: "no vrf context ansible"
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Remove nv overlay evpn
|
||||
nxos_config:
|
||||
commands: "no nv overlay evpn"
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Remove feature nv overlay
|
||||
nxos_config:
|
||||
commands: "no feature nv overlay"
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- name: Remove feature bgp
|
||||
nxos_feature:
|
||||
feature: bgp
|
||||
state: disabled
|
||||
provider: "{{ connection }}"
|
||||
ignore_errors: yes
|
||||
|
||||
- debug: msg="END connection={{ ansible_connection }} nxos_vrf_af sanity test"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue