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, 2019 in Ansible by Kiara
2,096 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, 2019 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
• 7,340 points
6,503 views
0 votes
1 answer

How do I wget a file from web server using shell in the ansible playbook

Hey Ayaan, you could probably use this ...READ MORE

answered Jan 24, 2019 in Ansible by Anushri
3,863 views
0 votes
1 answer

How do I get an ENV variable and store it into a local variable - Ansible

Hey @Ninja, that is possible. What you ...READ MORE

answered Jan 24, 2019 in Ansible by Thomas
1,995 views
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 12, 2019 in Ansible by Kyra
1,250 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,508 views
+2 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, 2019 in Ansible by Anushri
574 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, 2019 in Ansible by Kyra
613 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP