mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix ansible-test handling of empty test targets.
Previously empty test targets were ignored by ansible-test. This would prevent them from participating in dependency analysis. These targets are actually empty roles, and should be processed as such.
This commit is contained in:
parent
eee3dc888b
commit
6842c0467f
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ class IntegrationTarget(CompletionTarget):
|
|||
elif os.path.isdir(os.path.join(path, 'tasks')) or os.path.isdir(os.path.join(path, 'defaults')):
|
||||
self.type = 'role'
|
||||
else:
|
||||
self.type = 'unknown'
|
||||
self.type = 'role' # ansible will consider these empty roles, so ansible-test should as well
|
||||
|
||||
# static_aliases
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue