When to use dynamic inventory

0 votes
When do use dynamic inventory file? I've always only used static inventory.
Mar 24, 2019 in Ansible by Vijay
441 views

1 answer to this question.

0 votes

If your Ansible inventory fluctuates over time, with hosts spinning up and shutting down, the static inventory becomes useless. You may need to track hosts from multiple sources like cloud providers, LDAP, Cobbler etc. That is when you use Dynamic Inventory file.

answered Mar 24, 2019 by Nitesh

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer

When to use Ansible work with Jenkins?

If your deployment and machine environment are ...READ MORE

answered Apr 4, 2019 in Ansible by Anand
104 views
0 votes
1 answer

How to set dynamic host inventory file for docker in Ansible?

Hi@akhtar, In a configuration especially a container setup such ...READ MORE

answered Sep 20, 2020 in Ansible by MD
• 95,060 points
505 views
+1 vote
2 answers

Running ansible command on a single server when it is deployed to multiple servers

You can try the run_once attribute: Example from ...READ MORE

answered Jun 13, 2018 in Ansible by DareDev
• 6,890 points
988 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
959 views
+2 votes
1 answer
0 votes
1 answer

How do i tie Ansible's inventory to cobbler?

To tie Ansible’s inventory to Cobbler, copy this ...READ MORE

answered Mar 24, 2019 in Ansible by Aleesha
449 views
0 votes
1 answer

Requirements to used aws_ssm module

The below requirements are needed on the ...READ MORE

answered Mar 24, 2019 in Ansible by Hitesh
158 views