What are Ad-Hoc commands?

0 votes
I've recently started studying Ansible. I had a small doubt. What are Ad-Hoc commands?
Mar 5, 2019 in Ansible by Adi
84 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 5, 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 12, 2019 in Ansible by Imran
1,059 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
422 views
0 votes
1 answer

What are cache plugins in Ansible?

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

answered Feb 19, 2019 in Ansible by Kashish
229 views
0 votes
1 answer

What are connection plugins in Ansible?

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

answered Feb 19, 2019 in Ansible by Shalaka
229 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
809 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
135 views