mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-28 07:40:36 +00:00
add documentation how to exclude tasks
This commit is contained in:
parent
479f6b9855
commit
b002912c53
21
docs/content/configuration/excludes.md
Normal file
21
docs/content/configuration/excludes.md
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
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 -->
|
@ -13,6 +13,8 @@ main:
|
||||
ref: "/configuration/defaults"
|
||||
- name: CLI options
|
||||
ref: "/configuration/cli"
|
||||
- name: Exclude tasks
|
||||
ref: "/configuration/excludes"
|
||||
- name: Usage
|
||||
ref: "/usage"
|
||||
- name: Included rules
|
||||
|
Loading…
Reference in New Issue
Block a user