--- - name: Enable wheel group to use sudo become: true ansible.builtin.lineinfile: path: /usr/pkg/etc/sudoers.d/wheel regexp: 'wheel' line: '%wheel ALL=(ALL) ALL' create: yes mode: '0644'