Skip tags by default
This commit is contained in:
@@ -44,6 +44,15 @@ The regex `(?<=\()\d+` uses a feature called *positive lookbehind*: `(?<=\()`. I
|
||||
msg: '{{ sample.result_list | json_query("[*].stdout_lines[1]") | map("regex_search" ,"(?<=\()\d+") | list }}'
|
||||
```
|
||||
|
||||
## Skip (or run) tags by default
|
||||
|
||||
When working with tags you may not want to run tasks with a specific tag. For this you can add a section `tags` to the `ansible.cfg` file:
|
||||
|
||||
```ini
|
||||
[tags]
|
||||
skip: my_tag_to_skip
|
||||
```
|
||||
|
||||
## Links
|
||||
|
||||
* [Module defaults](https://docs.ansible.com/ansible/latest/user_guide/playbooks_module_defaults.html)
|
||||
|
||||
Reference in New Issue
Block a user