add hint for unique id requirements

This commit is contained in:
Robert Kaussow 2019-04-12 13:49:59 +02:00
parent a3b6ef54a3
commit d88e2f1894
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ with old releases.
- BREAKING
- Switch configuration files to YAML
- Enable multi location configuration files [#14](https://github.com/xoxys/ansible-later/issues/14)
- ID's used in standards have to be unique (or not set)
- FEATURE
- Add optional JSON logging [#13](https://github.com/xoxys/ansible-later/issues/13)

View File

@ -242,7 +242,9 @@ Create a file called standards.py (this can import other modules)
from ansiblelater include Standard, Result
tasks_are_uniquely_named = Standard(dict(
# ID's are optional but if you use ID's they have to be unique
id="ANSIBLE0003",
# Short description of the standard goal
name="Tasks and handlers must be uniquely named within a single file",
check=check_unique_named_task,
version="0.1",