Skip to content

feat(261): Adds parameter to descend into lists when scrubbing None p… - #262

Merged
tremble merged 5 commits into
ansible-collections:mainfrom
wimnat:issue-261
Mar 10, 2021
Merged

tremble merged 5 commits into
ansible-collections:mainfrom
wimnat:issue-261

Conversation

@wimnat

@wimnat wimnat commented Feb 9, 2021

Copy link
Copy Markdown
Contributor

…arams

SUMMARY

Fixes #261

Adding parameter to descend in to lists when scrubbing None parameter

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

scrub_none_parameters helper function (core)

ADDITIONAL INFORMATION

Defaulting to True as not yet implemented anywhere

@ansibullbot ansibullbot added community_review feature This issue/PR relates to a feature request module_utils module_utils needs_triage new_plugin New plugin plugins plugin (any type) tests tests needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR and removed community_review labels Feb 9, 2021
Comment thread plugins/module_utils/core.py Resolved
Comment thread plugins/module_utils/core.py Resolved

@jillr jillr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @winmat, thanks very much for the work starting this. Are you able to continue working on this PR or would you mind if someone continued with it? This would solve a few bugs so I'd like to be sure we can get it released asap.

@tremble
tremble requested review from felixfontein and jillr March 9, 2021 11:52
@tremble

tremble commented Mar 9, 2021

Copy link
Copy Markdown
Contributor

Hi @wimnat,

we've not heard from you in a while,

since we've multiple PRs currently on hold for this I've attempted to address the various comments. I hope you don't mind.

@jillr

jillr commented Mar 10, 2021

Copy link
Copy Markdown
Contributor

@tremble I'm happy for this to merge once CI is green, reran it a few times

@felixfontein

Copy link
Copy Markdown
Contributor

Hmm, according to Zuul, the stable-2.9 pylint sanity test is failling:

2021-03-09 12:12:39.943455 | centos-8 | ERROR: plugins/modules/aws_s3.py:342:11: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.943664 | centos-8 | ERROR: plugins/modules/aws_s3.py:345:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.943868 | centos-8 | ERROR: plugins/modules/aws_s3.py:377:11: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944099 | centos-8 | ERROR: plugins/modules/aws_s3.py:382:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944305 | centos-8 | ERROR: plugins/modules/aws_s3.py:407:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944508 | centos-8 | ERROR: plugins/modules/aws_s3.py:458:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944711 | centos-8 | ERROR: plugins/modules/aws_s3.py:487:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.944912 | centos-8 | ERROR: plugins/modules/aws_s3.py:555:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945126 | centos-8 | ERROR: plugins/modules/aws_s3.py:580:11: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945326 | centos-8 | ERROR: plugins/modules/ec2_ami.py:581:20: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945528 | centos-8 | ERROR: plugins/modules/ec2_ami.py:674:20: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945730 | centos-8 | ERROR: plugins/modules/ec2_ami_info.py:260:16: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.945932 | centos-8 | ERROR: plugins/modules/ec2_eni_info.py:224:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946150 | centos-8 | ERROR: plugins/modules/ec2_key.py:177:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946350 | centos-8 | ERROR: plugins/modules/s3_bucket.py:269:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946552 | centos-8 | ERROR: plugins/modules/s3_bucket.py:300:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946753 | centos-8 | ERROR: plugins/modules/s3_bucket.py:323:12: duplicate-except: Catching previously caught exception type ClientError
2021-03-09 12:12:39.946955 | centos-8 | ERROR: plugins/modules/s3_bucket.py:358:12: duplicate-except: Catching previously caught exception type ClientError

@ansibullbot ansibullbot added community_review and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Mar 10, 2021
@tremble

tremble commented Mar 10, 2021

Copy link
Copy Markdown
Contributor

@felixfontein Yeah, the stable-2.9 sanity tests have been fixed by #296 and #294 (unrelated to this PR, I'm guessing something was updated in the stable-2.9 container with the latest releases)

Tests are now passing in shippable, so I'm going to merge

@tremble
tremble merged commit c1f4607 into ansible-collections:main Mar 10, 2021
alinabuzachis added a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 9, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
alinabuzachis added a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 9, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
alinabuzachis added a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 16, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
goneri pushed a commit to alinabuzachis/amazon.aws that referenced this pull request Sep 21, 2022
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE

New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>

This commit was initially merged in https://github.com/ansible-collections/community.aws
See: ansible-collections/community.aws@3661b1c
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE


New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Sep 18, 2023
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE


New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>
abikouo pushed a commit to abikouo/amazon.aws that referenced this pull request Oct 24, 2023
New modules for RDS clusters management

SUMMARY

Two new modules for RDS clusters management (rds_cluster ans rds_cluster_info)
Took over from: ansible-collections#262
Depends-On: ansible-collections#553
Closes ansible-collections#849
Should also close ansible-collections#191

ISSUE TYPE


New Module Pull Request

Reviewed-by: Mark Woolley <mw@marknet15.com>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: Markus Bergholz <git@osuv.de>
brahmanim pushed a commit to brahmanim/amazon.aws that referenced this pull request Jan 20, 2026
brahmanim pushed a commit to brahmanim/amazon.aws that referenced this pull request Jan 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community_review feature This issue/PR relates to a feature request module_utils module_utils new_plugin New plugin plugins plugin (any type) tests tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add descend in to list option for 'scrub_none_parameters'

6 participants