When to use dynamic inventory?

0 votes
When do use dynamic inventory file? I've always only used static inventory.
Mar 24 in Ansible by Vijay
60 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 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 in Ansible by Anand
17 views
0 votes
1 answer

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,810 points
122 views
0 votes
1 answer

How to use Ansible git module pull a branch with local changes?

You cannot achieve it using the git ...READ MORE

answered Jul 9, 2018 in Ansible by Atul
• 10,240 points
1,068 views
+13 votes
2 answers
0 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 in Ansible by Aleesha
35 views
0 votes
1 answer

Requirements to used aws_ssm module

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

answered Mar 24 in Ansible by Hitesh
13 views