Merge "Add a warning in openstack_hostnames_ips.yml"
This commit is contained in:
commit
77498df75c
@ -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')
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user