How do I use my static and dynamic inventory files together in an ansible playbook?

0 votes
How do I use my static and dynamic inventory files together in an ansible playbook?
Feb 9 in Ansible by Kiara
186 views

1 answer to this question.

0 votes

Add both your static and dynamic inventories to the folder and you can run playbooks targeting both as same time.

Have a look at this example, explained pretty well.

answered Feb 9 by Monish

Related Questions In Ansible

0 votes
1 answer

How do I execute a shell script and then use the result in ansible

This can work out for you: - name: ...READ MORE

answered Apr 11, 2018 in Ansible by shubham
• 6,890 points
661 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I add ssh authorized keys in ansible playbook?

Hey @kailash use the authorized_key plugin that ...READ MORE

answered Feb 11 in Ansible by Kyra
112 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
124 views
0 votes
1 answer
0 votes
1 answer

How do I backup my ansible playbooks?

In addition to the install.yml file included with your setup.sh setup ...READ MORE

answered Feb 4 in Ansible by Anushri
23 views
0 votes
1 answer

How do I manage my config snapshots? - Ansible

Hey @Pandora, You can use the aci_config_snapshot module ...READ MORE

answered Feb 11 in Ansible by Kyra
30 views