Why are facts gathered in puppet and ansible?

0 votes
There are facts gathered while using Ansible and Puppet(I have used only these two tools). I don't understand the point of gathering these facts. Where are these going to be used?
Feb 21 in Ansible by Laksha

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

The facts gathered by these tools are actually very useful and used in many situations. For example,

  • You can create a web server configuration template and automatically fill in the appropriate IP address for a particular virtual host
  • You can also determine a lot about your system like that your server's distribution is ubuntu so you should run apache2 instead of httpd

answered Feb 21 by Vismaya

Related Questions In Ansible

0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

answered Apr 11, 2018 in Ansible by shubham
• 6,500 points
0 votes
1 answer

Create directories and download files in Ansible using Ansible playbook

Hey @Yash,  you could either use file module ...READ MORE

answered Jan 24 in Ansible by Cerdin
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

What are Action plugins in Ansible?

Action plugins work with the modules to ...READ MORE

answered Feb 19 in Ansible by Jobin
0 votes
1 answer

What are cache plugins in Ansible?

Cache plugins allow Ansible to store gathered facts ...READ MORE

answered Feb 19 in Ansible by Kashish

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.