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
To get all Infosys Certified Associate in Ansible Automation Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee