Update playbooks_tags.rst (#72351)

##### SUMMARY
Corrected the "Adding tags to blocks" example syntax. 


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
pull/72363/head
Daniel Tavernier 4 years ago committed by GitHub
parent c51438312a
commit dd19c9f737
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -129,8 +129,9 @@ If you want to apply a tag to many, but not all, of the tasks in your play, use
# myrole/tasks/main.yml
tasks:
- block:
- name: ntp tasks
tags: ntp
block:
- name: Install ntp
ansible.builtin.yum:
name: ntp

Loading…
Cancel
Save