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