Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipa_service: Add skip_host_check option #4417

Merged

Conversation

sodd
Copy link
Contributor

@sodd sodd commented Mar 29, 2022

SUMMARY

The ipa_service module missing skip_host_check option to force service to be created even when host object does not exist to manage it. This PR adds new boolen skip_host_check option, which will handle this screnario.

Fixes #4416

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ipa_service

ADDITIONAL INFORMATION

n/a

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request identity module module new_contributor Help guide this first time contributor plugins plugin (any type) labels Mar 29, 2022
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-4 labels Mar 29, 2022
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution! Can you add a changelog fragment? Thanks.

plugins/modules/identity/ipa/ipa_service.py Show resolved Hide resolved
plugins/modules/identity/ipa/ipa_service.py Outdated Show resolved Hide resolved
plugins/modules/identity/ipa/ipa_service.py Outdated Show resolved Hide resolved
sodd and others added 4 commits March 29, 2022 15:18
@sodd sodd force-pushed the ipa_service_skip_host_check branch from 6697166 to 9f548d6 Compare March 29, 2022 13:32
@justchris1
Copy link
Contributor

Looks good to me.

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Apr 1, 2022
@felixfontein felixfontein merged commit 1b357ba into ansible-collections:main Apr 1, 2022
@patchback
Copy link

patchback bot commented Apr 1, 2022

Backport to stable-4: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-4/1b357bade7f570653d0163410a15b2b39a57e625/pr-4417

Backported as #4436

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Apr 1, 2022
* ipa_service: Add `skip_host_check` option

* Update plugins/modules/identity/ipa/ipa_service.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/identity/ipa/ipa_service.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/identity/ipa/ipa_service.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* changelogs/fragments: Add 4417-ipa_service-add-skip_host_check.yml

Co-authored-by: sodd <4178855+sodd@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 1b357ba)
@felixfontein
Copy link
Collaborator

@sodd thanks for contributing this!
@justchris1 thanks for reviewing!

@sodd sodd deleted the ipa_service_skip_host_check branch April 1, 2022 20:58
felixfontein pushed a commit that referenced this pull request Apr 1, 2022
* ipa_service: Add `skip_host_check` option

* Update plugins/modules/identity/ipa/ipa_service.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/identity/ipa/ipa_service.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/identity/ipa/ipa_service.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* changelogs/fragments: Add 4417-ipa_service-add-skip_host_check.yml

Co-authored-by: sodd <4178855+sodd@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 1b357ba)

Co-authored-by: sodd <sodd@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request identity module module new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ipa_service: Add skip_host_check option
4 participants