{% for command in myaccumulator %}{{ sudouser }} ALL=(ALL) NOPASSWD: {{ command }} {% endfor %}