There are a few linting reports here. I took a chance and fixed these.
[206] Variables should have spaces before and after: {{ var_name }}
tasks/install.debian.yml:65
dest: "/lib/systemd/system/{{mongodb_daemon_name}}.service"
[206] Variables should have spaces before and after: {{ var_name }}
tasks/install.debian.yml:77
src: "/lib/systemd/system/{{mongodb_daemon_name}}.service"
[206] Variables should have spaces before and after: {{ var_name }}
tasks/install.debian.yml:78
dest: "/etc/systemd/system/multi-user.target.wants/{{mongodb_daemon_name}}.service"
[602] Don't compare to empty string
tasks/main.yml:7
and mongodb_net_ssl_host == '' )
There are a few linting reports here. I took a chance and fixed these.