The Administrator Sainz must list the uptime details of all the servers under webgroup listed in the inventory file ansible_hosts.

Which of the following ad-hoc commands can be used to do the same?

ansible webgroup -m command -a uptime -i ansible_hosts

ansible webgroup -m command -a uptime ansible_hosts

ansible webgroup -m command -a uptime --inventory ansible_hosts

ansible -g webgroup -m command -a uptime -i ansible_hosts

Correct Option - a

To get all Infosys Certified Associate in Ansible Automation Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in