in Ansible by (14.5k points)
Explain in detail about ad-hoc command?

1 Answer

0 votes
by (23.9k points)
ad-hoc commands is nothing but a command which is used to do something quickly and it is more sort of a one-time use.  Unlike, the playbook is used for a repeated actions which is something that is very useful in Ansible environment. But there might be scenarios where we want to use ad-hoc commands which can simply do the required activity and it is a nonrepetitive activity.

Related questions

0 votes
0 votes
asked Aug 30, 2021 in DevOps by SakshiSharma (32.2k points)
0 votes
asked Jun 12, 2019 in Interview Question by heath (53 points)
...