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
341 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
80 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 6 days ago in Ansible by MD
• 56,480 points
26 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,850 points
663 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
677 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
356 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
105 views