mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00: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:
committed by
John R Barker
parent
231c3586bd
commit
483df13626
@@ -14,14 +14,12 @@
|
||||
parents:
|
||||
- "interface {{ intname }}"
|
||||
match: none
|
||||
provider: "{{ connection }}"
|
||||
|
||||
- name: Ensure vrf ntc exists on interface
|
||||
nxos_vrf_interface: &configure
|
||||
vrf: ntc
|
||||
interface: "{{ intname }}"
|
||||
state: present
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: &true
|
||||
@@ -41,7 +39,6 @@
|
||||
vrf: ntc
|
||||
interface: "{{ intname }}"
|
||||
state: absent
|
||||
provider: "{{ connection }}"
|
||||
register: result
|
||||
|
||||
- assert: *true
|
||||
@@ -56,7 +53,6 @@
|
||||
- name: put interface in default mode
|
||||
nxos_config:
|
||||
lines: "default interface {{ intname }}"
|
||||
provider: "{{ connection }}"
|
||||
match: none
|
||||
ignore_errors: yes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user