mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
ACI: Implement encoded query_string (#50358)
This requires urldecode support in Ansible
This commit is contained in:
parent
f45c41ef3e
commit
f90ec17465
11 changed files with 48 additions and 44 deletions
|
@ -103,6 +103,9 @@
|
|||
ap: "{{ fakevar | default(omit) }}"
|
||||
register: query_all
|
||||
|
||||
- debug:
|
||||
msg: '{{ query_ap_ap.filter_string|urldecode }}'
|
||||
|
||||
- name: query assertions
|
||||
assert:
|
||||
that:
|
||||
|
@ -118,7 +121,7 @@
|
|||
- query_ap_ap is not changed
|
||||
- query_ap_ap.current != []
|
||||
- query_ap_ap.current.0.fvAp is defined
|
||||
- '"query-target-filter=eq(fvAp.name, \"anstest\")" in query_ap_ap.filter_string'
|
||||
- '"query-target-filter=eq(fvAp.name, \"anstest\")" in query_ap_ap.filter_string|urldecode'
|
||||
- '"class/fvAp.json" in query_ap_ap.url'
|
||||
- query_all is not changed
|
||||
- query_all.current | length > 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue