Use this oneliner to quickly list who all is allowed in ssh and sssd. Generally, the lists should be the same.
grep -iE "^\s*(simple_)?allow" /etc/ssh/sshd_config /etc/sssd/sssd.conf
And to run it with ansible:
ansible -i /etc/ansible/inventory -u ansible_user --become all -m shell -a 'grep -iE "^\s*(simple_)?allow" /etc/ssh/sshd_config /etc/sssd/sssd.conf'