Although the /etc/gshadow file is group-owned by root by default, the Ansible tasks will ensure that it is configured that way.
/etc/gshadow