mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-07-26 14:41:29 -07:00
fixing compute_url_map, add cleanup script
Compute_url_map was broken by #509: It also merged in #393, which has an erroneous understanding that compute_url_map always returns a diff (integration tests show it does not). Adding a cleanup script to help with environment hygiene. Added cleanup to CI to help make tests less flakey.
This commit is contained in:
parent
0cece672cf
commit
4816e97719
3 changed files with 53 additions and 5 deletions
|
@ -5489,6 +5489,7 @@ def main():
|
|||
if fetch:
|
||||
module.params['fingerprint'] = fetch['fingerprint']
|
||||
if state == 'present':
|
||||
if is_different(module, fetch):
|
||||
update(module, self_link(module), kind)
|
||||
fetch = fetch_resource(module, self_link(module), kind)
|
||||
changed = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue