Fix ansible-test cloud testing for collections.

pull/59497/head
Matt Clay 5 years ago
parent 3c68a2e5f0
commit ba90263c22

@ -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…
Cancel
Save