- name: Ensure nsswitch is looking to sssd for sudo lineinfile: path: /etc/nsswitch.conf regexp: '^sudoers:' line: 'sudoers: files sss' backup: true