What are cache plugins in Ansible?

0 votes
What are cache plugins in Ansible? Also, how are they used?
Feb 19 in Ansible by Himanshu
61 views

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

Cache plugins allow Ansible to store gathered facts or inventory source data. It is implemented in the backend. The default cache plugin is the memory plugin which only caches data related to the current Ansible execution. 

You can also use a separate cache plugin for inventory and facts.

You can enable a cache plugin in the Ansible configuration

export ANSIBLE_CACHE_PLUGIN=jsonfile

answered Feb 19 by Kashish

Related Questions In Ansible

0 votes
1 answer

What are the different types of plugins available in Ansible?

Ansible provides a huge variety of plugins ...READ MORE

answered Feb 19 in Ansible by Priya
45 views
0 votes
1 answer

What are connection plugins in Ansible?

Hey @Jay, connection plugins allow ansible to ...READ MORE

answered Feb 19 in Ansible by Shalaka
54 views
+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
47 views
0 votes
1 answer

Why are facts gathered in puppet and ansible?

The facts gathered by these tools are ...READ MORE

answered Feb 21 in Ansible by Vismaya
19 views

© 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.