Fix ansible-test cloud testing for collections.
This commit is contained in:
parent
3c68a2e5f0
commit
ba90263c22
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@ from lib.util import (
|
|||
load_plugins,
|
||||
ABC,
|
||||
to_bytes,
|
||||
make_dirs,
|
||||
)
|
||||
|
||||
from lib.target import (
|
||||
|
@ -162,6 +163,8 @@ def cloud_init(args, targets):
|
|||
clouds=results,
|
||||
)
|
||||
|
||||
make_dirs(os.path.dirname(results_path))
|
||||
|
||||
with open(results_path, 'w') as results_fd:
|
||||
results_fd.write(json.dumps(data, sort_keys=True, indent=4))
|
||||
|
||||
|
|
Loading…
Reference in a new issue