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, 2019 in Ansible by Laksha
712 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, 2019 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
• 7,340 points
6,892 views
0 votes
1 answer
0 votes
1 answer
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, 2019 in Ansible by Cerdin
5,943 views
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,036 views
+2 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, 2019 in Ansible by Jobin
1,529 views
0 votes
1 answer

What are cache plugins in Ansible?

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

answered Feb 20, 2019 in Ansible by Kashish
985 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP