0 votes
in JQuery by
What’s an ad hoc command in Ansible?

1 Answer

0 votes
by

Ad hoc command is a single task and quick command, which is not reusable. It is mainly used with tasks that get performed very rarely. For example, if you want to shut down all your computers in a lab before holidays, then it can be done with a single Ansible ad hoc command. The command gets executed on /usr/bin/Ansible command-line tool. Multiple tasks can be performed using an ad hoc command, such as copy files, reboot servers, manage users, manage packages, etc.

Related questions

0 votes
asked Aug 12, 2023 in Other by SakshiSharma
0 votes
0 votes
asked Oct 7, 2020 in JQuery by Robindeniel
...