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. On Sunday, May 3, 2020 at 6:32:48 AM UTC+5:30, Orkhan Mammadov wrote: > > Hi guys, > > I would like to check the facts list in ansible, it should be located in > /etc/ansible/facts.d directory. But ansible directory under /etc is not > exist. Is there different location that facts are located? > > Thanks. > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/aa04624e-6d7b-4800-881a-fa55e27b04fb%40googlegroups.com.
