in Ansible by
Explain in detail about ad-hoc command?

1 Answer

0 votes
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
asked Jun 12, 2019 in Interview Question by heath
0 votes
asked Aug 27, 2020 in Salesforce by DavidAnderson
0 votes
asked Jul 30, 2021 in Ansible by DavidAnderson