What are Ad-Hoc commands

0 votes
I've recently started studying Ansible. I had a small doubt. What are Ad-Hoc commands?
Mar 6, 2019 in Ansible by Adi
882 views

1 answer to this question.

0 votes
Ad-Hoc command is something that you would want it to be executed quickly without waiting for later. Ansible lets you do that without having to write an entire playbook for those commands.
answered Mar 6, 2019 by Yogesh
Can you plz give an example?

Suppose you need to run a reboot for all your company servers in a group 'xyz' in 12 parellel forks, you can use the following Ad Hoc command:

$ Ansible xyz -a "/sbin/reboot" -f 12

Related Questions In Ansible

0 votes
1 answer

What are the SCM tools supported by jenkins?

Hey @Jugnu, below are Source code management ...READ MORE

answered Feb 13, 2019 in Ansible by Imran
7,171 views
0 votes
1 answer

What are Action plugins in Ansible?

Action plugins work with the modules to ...READ MORE

answered Feb 19, 2019 in Ansible by Jobin
1,563 views
0 votes
1 answer

What are cache plugins in Ansible?

Cache plugins allow Ansible to store gathered facts ...READ MORE

answered Feb 20, 2019 in Ansible by Kashish
1,006 views
0 votes
1 answer

What are connection plugins in Ansible?

Hey @Jay, connection plugins allow ansible to ...READ MORE

answered Feb 20, 2019 in Ansible by Shalaka
1,074 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
4,055 views
+2 votes
1 answer
0 votes
1 answer

What are the different types of plugins available in Ansible?

Ansible provides a huge variety of plugins ...READ MORE

answered Feb 19, 2019 in Ansible by Priya
1,046 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