bundlewrap/bundles/sudo/files/bwusers

6 lines
172 B
Text
Raw Normal View History

2020-11-09 19:39:35 +00:00
% for user, config in sorted(node.metadata['users'].items()):
% for p in sorted(config.get('sudo_commands', [])):
${user} ALL=(ALL) NOPASSWD:${p}
% endfor
% endfor