mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-25 14:20:45 +00:00
add hint for unique id requirements
This commit is contained in:
parent
a3b6ef54a3
commit
d88e2f1894
@ -6,6 +6,7 @@ with old releases.
|
|||||||
- BREAKING
|
- BREAKING
|
||||||
- Switch configuration files to YAML
|
- Switch configuration files to YAML
|
||||||
- Enable multi location configuration files [#14](https://github.com/xoxys/ansible-later/issues/14)
|
- 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
|
- FEATURE
|
||||||
- Add optional JSON logging [#13](https://github.com/xoxys/ansible-later/issues/13)
|
- Add optional JSON logging [#13](https://github.com/xoxys/ansible-later/issues/13)
|
||||||
|
@ -242,7 +242,9 @@ Create a file called standards.py (this can import other modules)
|
|||||||
from ansiblelater include Standard, Result
|
from ansiblelater include Standard, Result
|
||||||
|
|
||||||
tasks_are_uniquely_named = Standard(dict(
|
tasks_are_uniquely_named = Standard(dict(
|
||||||
|
# ID's are optional but if you use ID's they have to be unique
|
||||||
id="ANSIBLE0003",
|
id="ANSIBLE0003",
|
||||||
|
# Short description of the standard goal
|
||||||
name="Tasks and handlers must be uniquely named within a single file",
|
name="Tasks and handlers must be uniquely named within a single file",
|
||||||
check=check_unique_named_task,
|
check=check_unique_named_task,
|
||||||
version="0.1",
|
version="0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user