mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-18 19:00:40 +00:00
22 lines
446 B
Markdown
22 lines
446 B
Markdown
|
---
|
||
|
title: Exclude tasks
|
||
|
---
|
||
|
|
||
|
If you want to ignore individual tasks completely, you can use the `skip_ansible_later` tag.
|
||
|
|
||
|
## Example
|
||
|
|
||
|
<!-- prettier-ignore-start -->
|
||
|
<!-- spellchecker-disable -->
|
||
|
<!-- markdownlint-disable -->
|
||
|
{{< highlight Yaml "linenos=table" >}}
|
||
|
- name: Excluded task
|
||
|
command: "pwd"
|
||
|
tags:
|
||
|
- skip_ansible_later
|
||
|
|
||
|
{{< /highlight >}}
|
||
|
<!-- markdownlint-restore -->
|
||
|
<!-- spellchecker-enable -->
|
||
|
<!-- prettier-ignore-end -->
|