--- # Install the perforce systemctl sudoers file (validated with visudo before it # is written). Shared by the install path and the update_sudo flow. - name: "Install perforce systemctl sudoers file" ansible.builtin.template: src: "sudoers_perforce_user.j2" dest: "/etc/sudoers.d/{{ perforce_user }}_user" mode: '0440' owner: "root" group: "root" validate: "/usr/sbin/visudo -cf %s"