Bug fixes for GCP modules (#55977)

This commit is contained in:
The Magician 2019-05-20 11:43:38 -07:00 committed by ansibot
parent b37ae35ba0
commit e598eeeebe
8 changed files with 32 additions and 44 deletions

View file

@ -59,7 +59,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length >= 1
- results['resources'] | length >= 1
# ----------------------------------------------------------------------------
- name: create a instance that already exists
gcp_sql_instance:
@ -113,7 +113,7 @@
- name: verify that command succeeded
assert:
that:
- results['items'] | length == 0
- results['resources'] | length == 0
# ----------------------------------------------------------------------------
- name: delete a instance that does not exist
gcp_sql_instance: