f.write('[{}]\n'.format(hosts))
h1 = '{0} ansible_connection=ssh ansible_ssh_user={1} ansible_ssh_pass={2} ' \
'ansible_ssh_private_key_file=~/.ssh/id_juju_sshproxy ' \
f.write('[{}]\n'.format(hosts))
h1 = '{0} ansible_connection=ssh ansible_ssh_user={1} ansible_ssh_pass={2} ' \
'ansible_ssh_private_key_file=~/.ssh/id_juju_sshproxy ' \