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

[Documentation] [module.rst.j2] Jinja is generating upper case truthy's when they are lower case #1730

Open
1 task done
ddimatos opened this issue Sep 27, 2024 · 0 comments
Assignees
Labels
Documentation Report documetation errors or needed changes Needs Triage Issue need assessment by a team member(s)

Comments

@ddimatos
Copy link
Collaborator

Is there an existing issue for this?

  • There are no existing issues.

Documentation issue description

YAML 1.2 specifies that truth values be lower case yet RHACC doc shows upper case. It is unusual that a tool is uppercasing true, I suppose the easiest fix is to user the upper case Jinja function surrounding spec.required and then lowercase the False.

  {{ "  " * level }}| **required**: {{ spec.required | default("False") }}

See here.

There is no mention of upper case in the YAML 1.2 spec:
image

IBM z/OS Ansible core Version

v1.9.0 (default)

Ansible module

No response

@ddimatos ddimatos added the Documentation Report documetation errors or needed changes label Sep 27, 2024
@ddimatos ddimatos added the Needs Triage Issue need assessment by a team member(s) label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Report documetation errors or needed changes Needs Triage Issue need assessment by a team member(s)
Projects
Status: No status
Development

No branches or pull requests

3 participants