bundles/users: only remove ssh key if we're managing configs
This commit is contained in:
parent
7432c52a36
commit
55d6257243
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ for username, attrs in node.metadata['users'].items():
|
|||
'mode': '0600',
|
||||
}
|
||||
|
||||
else:
|
||||
elif attrs.get('deploy_configs', True):
|
||||
files[home + '/.ssh/authorized_keys'] = {'delete': True}
|
||||
|
||||
if attrs.get('deploy_configs', True):
|
||||
|
|
Loading…
Reference in a new issue