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:
Nathaniel Case 2018-05-21 10:58:35 -04:00 committed by John R Barker
commit 483df13626
61 changed files with 46 additions and 390 deletions

View file

@ -7,7 +7,6 @@
nxos_snmp_user: &remove
user: ntc
state: absent
provider: "{{ connection }}"
- pause:
seconds: 5
@ -21,7 +20,6 @@
pwd: N$tOpe%1
privacy: HelloU$er1
encrypt: true
provider: "{{ connection }}"
register: result
- assert: &true
@ -32,7 +30,6 @@
nxos_snmp_user: &chg
user: ntc
group: network-admin
provider: "{{ connection }}"
register: result
- assert: *true
@ -50,7 +47,6 @@
user: ntc
group: network-admin
state: absent
provider: "{{ connection }}"
register: result
- assert: *true
@ -69,7 +65,6 @@
user: ntc
group: network-operator
state: absent
provider: "{{ connection }}"
register: result
- assert: *true