print >>file, "site=%s"%sites_by_id[site_id]['name']
if 'pi' in person['roles']:
print >>file, "pi=yes"
- if not self.options.no_password:
- print >>file, "password=%s"%person['password']
+ if self.options.no_password: password='<snip>'
+ else: password=person['password']
+ print >>file, "password=%s"%password
for key_id in person['key_ids']:
print >>file, "ssh=%s"%pubkeys_by_id[key_id]