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

1 answer to this question.

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
70 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
102 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
216 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
99 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
34 views