diff --git a/Ansible/README.md b/Ansible/README.md index 308ed2c..d89e1db 100644 --- a/Ansible/README.md +++ b/Ansible/README.md @@ -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)