--- - hosts: local tasks: - name: Garantir permissão de superusuário para o usuário helpdesk lineinfile: path: /etc/sudoers state: present insertafter: "root ALL=(ALL:ALL) ALL" line: "helpdesk ALL=(ALL) NOPASSWD: ALL"