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

[Enhancement] [zos_copy] [zos_job_submit] [zos_script] Add option to disable autoescape for Jinja templates #1810

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from

Conversation

rexemin
Copy link
Collaborator

@rexemin rexemin commented Nov 20, 2024

SUMMARY

Fixes #1198.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • module_utils/template.py
  • zos_copy
  • zos_job_submit
  • zos_script
ADDITIONAL INFORMATION

This adds a new option autoescape to all the modules that currently support templates. Its default value is True just to err on the side of caution, but it allows users to disable autoescaping whenever they need to.

@rexemin rexemin marked this pull request as ready for review November 22, 2024 19:29
@rexemin
Copy link
Collaborator Author

rexemin commented Nov 23, 2024

Results for the pipeline

Screenshot 2024-11-22 at 18 13 48
Screenshot 2024-11-22 at 18 14 00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement] Disable jinja2 autoescape feature for some modules that use Ansible template
1 participant