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

xfconf module utils: providing a cmd_runner object #4776

Merged

Conversation

russoz
Copy link
Collaborator

@russoz russoz commented Jun 4, 2022

SUMMARY

Create a new module_utils/xfconf.py.
Changed xfconf and xfconf_info to use that runner instead of the features in CmdStateModuleHelper

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

plugins/module_utils/xfconf.py
plugins/modules/system/xfconf.py
plugins/modules/system/xfconf_info.py

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module module_utils module_utils plugins plugin (any type) system labels Jun 4, 2022
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-5 labels Jun 4, 2022
@russoz
Copy link
Collaborator Author

russoz commented Jun 4, 2022

Please wait until #4777 is merged so I can add that improvement here as well.

@felixfontein
Copy link
Collaborator

@russoz please add the improvement here as well, since that PR has been merged :)

@felixfontein felixfontein merged commit 8ba3d94 into ansible-collections:main Jun 6, 2022
@patchback
Copy link

patchback bot commented Jun 6, 2022

Backport to stable-5: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-5/8ba3d9474055450fce493f1b707ae707df144dbd/pr-4776

Backported as #4789

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

@felixfontein
Copy link
Collaborator

@russoz thanks for this improvement!

patchback bot pushed a commit that referenced this pull request Jun 6, 2022
* xfconf: changed implementation to use cmd_runner

* added module_utils/xfconf.py

* xfconf_info: using cmd_runner

* added module_utils to BOTMETA.yml

* added changelog fragment

* use cmd_runner_fmt instead of deprecated form

(cherry picked from commit 8ba3d94)
@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Jun 6, 2022
@russoz russoz deleted the xfconf-cmd-runner branch June 6, 2022 08:40
felixfontein pushed a commit that referenced this pull request Jun 6, 2022
* xfconf: changed implementation to use cmd_runner

* added module_utils/xfconf.py

* xfconf_info: using cmd_runner

* added module_utils to BOTMETA.yml

* added changelog fragment

* use cmd_runner_fmt instead of deprecated form

(cherry picked from commit 8ba3d94)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This was referenced Nov 20, 2022
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 module_utils module_utils module module plugins plugin (any type) system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants