Skip to content

Conversation

@russoz
Copy link
Collaborator

@russoz russoz commented Nov 23, 2025

SUMMARY

The module was using os.system() to run an external command, whilst the recommended way is to use AnsibleModule.run_command().

ISSUE TYPE
  • Refactoring Pull Request
COMPONENT NAME

solaris_zone

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added module module plugins plugin (any type) labels Nov 23, 2025
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-12 Automatically create a backport for the stable-12 branch labels Nov 23, 2025
@russoz
Copy link
Collaborator Author

russoz commented Nov 24, 2025

@felixfontein please note that this was not picked up by sanity checks before.

@russoz russoz merged commit 64dc009 into ansible-collections:main Nov 24, 2025
134 checks passed
@patchback
Copy link

patchback bot commented Nov 24, 2025

Backport to stable-12: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-12/64dc009ea754f4a41ac3dcc1d7291664dd31586e/pr-11192

Backported as #11207

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

@russoz russoz deleted the solaris-zone-os-system branch November 24, 2025 20:07
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)
@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Nov 24, 2025
@felixfontein
Copy link
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]>
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)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants