-
Notifications
You must be signed in to change notification settings - Fork 1.7k
solaris_zone: replace os.system() with run_command() #11192
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
Merged
russoz
merged 2 commits into
ansible-collections:main
from
russoz-ansible:solaris-zone-os-system
Nov 24, 2025
Merged
solaris_zone: replace os.system() with run_command() #11192
russoz
merged 2 commits into
ansible-collections:main
from
russoz-ansible:solaris-zone-os-system
Nov 24, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collaborator
felixfontein
approved these changes
Nov 23, 2025
Collaborator
Author
|
@felixfontein please note that this was not picked up by sanity checks before. |
Backport to stable-12: 💚 backport PR created✅ Backport PR branch: Backported as #11207 🤖 @patchback |
patchback bot
pushed a commit
that referenced
this pull request
Nov 24, 2025
* solaris_zone: replace os.system() with run_command() * add changelog frag (cherry picked from commit 64dc009)
Collaborator
|
@russoz thanks for fixing! |
felixfontein
pushed a commit
that referenced
this pull request
Nov 24, 2025
…tem() with run_command() (#11207) solaris_zone: replace os.system() with run_command() (#11192) * solaris_zone: replace os.system() with run_command() * add changelog frag (cherry picked from commit 64dc009) Co-authored-by: Alexei Znamensky <[email protected]>
Open
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-12
Automatically create a backport for the stable-12 branch
module
module
plugins
plugin (any type)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
The module was using
os.system()to run an external command, whilst the recommended way is to useAnsibleModule.run_command().ISSUE TYPE
COMPONENT NAME
solaris_zone