bundlewrap/bundles/sudo/files/bwusers
Franzi 6ca0d863b1
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/sudo: use sudoers.d
2020-11-09 20:39:35 +01:00

6 lines
172 B
Plaintext

% for user, config in sorted(node.metadata['users'].items()):
% for p in sorted(config.get('sudo_commands', [])):
${user} ALL=(ALL) NOPASSWD:${p}
% endfor
% endfor