Have you created this custom facts file ?
By default custom facts can be created and stored locally on each managed host. The /etc/ansible/facts.d directory does not exists by default. You will need to create this directory on each managed host , can use "file" module to do so. You can then copy the facts file into this directory for use by the playbook .
Thanks
Neha Pithadiya.