diff --git a/bundles/users/items.py b/bundles/users/items.py index 6ca6393..b4aaf8d 100644 --- a/bundles/users/items.py +++ b/bundles/users/items.py @@ -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):