What are ad-hoc commands?
Answer / Rajeev
Ad-hoc commands are one-off Ansible tasks that can be run against specific hosts or host groups without creating playbooks. They are useful for quickly executing simple tasks or troubleshooting issues.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a playbook to create a backup of a file in the remote servers before copy.
How do I handle different machines needing different user accounts or ports to log in with?
How do I access a variable of the first host in a group?
What is configuration management and how does it help an organization?
List some advantages of using ansible.
Describe the working of ansible.
What is ansible galaxy?
How can looping be done over a list of hosts in a group, inside of a template?
How do I disable cowsay?
How can one interpolate variables or dynamic variable names?
What are ansible vaults and why are they used?
When should I use {{ }}? Also, how to interpolate variables or dynamic variable names