% for username, nodename in sorted(clients.items()): ${username} ALL=NOPASSWD:/usr/local/bin/rotate-single-backup-client ${nodename} % endfor