Red Hat Certified Specialist in Ansible Automation — Question 6

State whether the following statement is true or false.
Is this the correct format for an ansible ad-hoc command?
ansible servers -m ping

Answer options

Correct answer: A

Explanation

The statement is true because the command 'ansible servers -m ping' is indeed the correct format for executing an ad-hoc command in Ansible. Option B is incorrect as it denies the validity of the command format.