bundlewrap/bundles/sudo/files/bwusers

6 lines
166 B
Text
Raw Permalink 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', [])):
2020-11-09 19:39:35 +00:00
${user} ALL=(ALL) NOPASSWD:${p}
% endfor
2020-11-09 19:39:35 +00:00
% endfor