running bash command in ansible on centos 7 leads to /dev/null permission denied problem

hi guys! has anyone bumped into the similar issue before?
https://github.com/ansible/ansible/issues/47305