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

Apparently the include_tasks call with the tag is described incorrectly #2315

Open
Dnivd opened this issue Dec 25, 2024 · 2 comments
Open

Apparently the include_tasks call with the tag is described incorrectly #2315

Dnivd opened this issue Dec 25, 2024 · 2 comments
Labels
new_contributor This PR is the first contribution by a new community member.

Comments

@Dnivd
Copy link

Dnivd commented Dec 25, 2024

There is apparently a typo on the page
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_tags.html#adding-tags-to-plays

When calling include_tasks
with the tag specified as shown in the screenshot
image

Install ansible [core 2.14.17]
Example If you run default
will be skipped
If you run tags remove then it will work:

image

@ansible-documentation-bot ansible-documentation-bot bot added needs_triage Needs a first human triage before being processed. new_contributor This PR is the first contribution by a new community member. labels Dec 25, 2024
@ansible-documentation-bot
Copy link
Contributor

Thanks for your Ansible docs contribution! We talk about Ansible documentation on Matrix at #docs:ansible.im if you ever want to join us and chat about the docs! We meet on Matrix every Tuesday. See the Ansible calendar for meeting details. We welcome additions to our weekly agenda items too. You can add the dawgs-meeting tag to a forum topic to bring it up at the next meeting.

@samccann
Copy link
Contributor

samccann commented Jan 7, 2025

Hi @Dnivd ! I'm not quite sure what you are explaining here. The apply option is shown here in the docs.. The screencap you shows how to optionally include a task based on a tag. The link I added here shows how to have that included task inherit the tag.

@samccann samccann removed the needs_triage Needs a first human triage before being processed. label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new_contributor This PR is the first contribution by a new community member.
Projects
Status: 🆕 Triage
Development

No branches or pull requests

2 participants