Merge "Add a warning in openstack_hostnames_ips.yml"

This commit is contained in:
Zuul 2018-06-24 22:32:05 +00:00 committed by Gerrit Code Review
commit 77498df75c
1 changed files with 3 additions and 2 deletions

View File

@ -188,12 +188,13 @@ def write_hostnames(save_path, hostnames_ips):
with open(hostnames_ip_file, 'wb') as f:
f.write(
json.dumps(
('# This file is managed by openstack-ansible. No manual edits.\n'
+ json.dumps(
hostnames_ips,
indent=4,
separators=(',', ': '),
sort_keys=True
).encode('ascii')
)).encode('ascii')
)