38793/how-to-enable-inventory-cache-plugin-in-ansible
Hey @Prakash, Inventory cache plugin is disabled by default, you explicitly have to enable it.
You can enable it using the environment variable
export ANSIBLE_INVENTORY_CACHE=True
Adding to @Farookh's answer, if the inventory plugin accepts a YAML configuration source, you can also enable the inventory cache in the configuration file, something like this:
# dev.aws_ec2.yaml plugin: aws_ec2 cache: True
Hi@akhtar, In a configuration especially a container setup such ...READ MORE
I'm not aware of any built-in method ...READ MORE
Usually, if even one command fails to ...READ MORE
Add both your static and dynamic inventories ...READ MORE
Hey @nmentityvibes, you seem to be using ...READ MORE
Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE
It can work if you try to put ...READ MORE
When you use docker-compose down, all the ...READ MORE
Hey @Jason, You can enable a cache plugin ...READ MORE
There are two cache plugins: redis and jsonfile. To ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.