In tasks/install.yml configuration template file is copied to /etc/mongod.conf. This means that modifications to Mongo configuration are not applied.