Skip to content

Fix misc docs - #85955

Open
Akasurde wants to merge 1 commit into
ansible:develfrom
Akasurde:base
Open

Akasurde wants to merge 1 commit into
ansible:develfrom
Akasurde:base

Conversation

@Akasurde

@Akasurde Akasurde commented Oct 7, 2025

Copy link
Copy Markdown
Member
SUMMARY
  • Removed unused basic_error2 yaml marker
  • Corrected option value for _ANSIBLE_TEMPLAR_UNTRUSTED_TEMPLATE_BEHAVIOR

Signed-off-by: Abhijeet Kasurde Akasurde@redhat.com

ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

lib/ansible/config/base.yml

@ansibot ansibot added needs_triage Needs a first human triage before being processed. pending_ci and removed pending_ci labels Oct 7, 2025

@Shrews Shrews left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes lgtm, but what are your thoughts about possibly changing DUPLICATE_YAML_DICT_KEY to accept warning (and warn for backwards compatibility)? The upside is that it could then share the &basic_error anchor just like all of the other similar options, and not be the only config option with different values. Simple enough change here in the source to allow both values.

@bcoca

bcoca commented Oct 9, 2025

Copy link
Copy Markdown
Member

I agree with @Shrews, change to use *basic_error + add current choices as 'expansion' << but also indicate we will be deprecating them.

There is no current way to deprecate 'choices' in general, but can be done in the consumer in a couple of versions.

@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Oct 16, 2025
@Akasurde
Akasurde requested a review from Shrews October 16, 2025 21:12
@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Oct 16, 2025
@s-hertel s-hertel removed the needs_triage Needs a first human triage before being processed. label Oct 21, 2025
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Oct 28, 2025
error: issue a 'fatal' error and stop the play
choices:
<<: *basic_error
warn: issue a warning but continue

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we change the text for warn to say something else? Maybe that it is an alias of warning and will be removed at some point? Maybe @bcoca has some ideas on how to handle this.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bcoca Any thoughts ?

@ansibot ansibot added the docs This issue/PR relates to or includes documentation. label Apr 14, 2026
* Removed unused basic_error2 yaml marker
* Corrected option value for _ANSIBLE_TEMPLAR_UNTRUSTED_TEMPLATE_BEHAVIOR

Signed-off-by: Abhijeet Kasurde <Akasurde@redhat.com>
@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Apr 17, 2026
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs This issue/PR relates to or includes documentation. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants