v2.2.6
Muthukumar-Subramaniam
released this
13 Oct 03:57
·
14 commits
to main
since this release
Release Notes
Enhancement: Playbook Stability Improvements
- Reduced shell module usage: Replaced several instances of the shell module with the more stable command and other built-in Ansible modules. This change enhances playbook stability by minimizing reliance on shell commands and promoting idempotent operations.
- Improved task execution consistency: By avoiding shell-based commands, tasks are now more predictable, with better error handling and cross-platform compatibility.
- Advantages of Removing shell Modules:
- Enhanced Stability: Reducing reliance on the shell module leads to more predictable behavior across different environments, as the execution is less dependent on the shell's idiosyncrasies.
- Idempotency: Built-in Ansible modules are designed to be idempotent, ensuring that running the playbook multiple times does not change the system state if it is already configured correctly.
Bug Fixes
- YAML parsing issues: Resolved multiple instances of incorrect quoting, which were causing YAML parsing errors. Ensured that all Jinja2 expressions are properly quoted to avoid runtime errors.
- General code cleanup: Removed redundant and unstable commands that were causing intermittent issues during execution.
Full Changelog: v2.2.5...v2.2.6