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
27 views

1 answer to this question.

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,890 points
661 views
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
479 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
124 views
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
73 views
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
93 views