mot de passe compte crans
This commit is contained in:
parent
076d667d34
commit
d76ed2febb
2 changed files with 28 additions and 14 deletions
|
@ -42,7 +42,7 @@ for machine in m:
|
|||
login = machine['host'][0].split('.', 1)[0]
|
||||
todo = {'login': login, 'macAddress': machine['macAddress'][0].value}
|
||||
if machine.has_key('ipsec'):
|
||||
todo['pass'] = machine['ipsec'][0].value
|
||||
todo['secret'] = machine['ipsec'][0].value
|
||||
to_print.append(todo)
|
||||
|
||||
ch.basic_publish(exchange='', routing_key='CransTicket', body=json.dumps(to_print))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue