Qtr No. 213, New Town Yehlanka Indore 454775
Zen Inc., has configured Mail Server for one of their Clients. Zen had promised their clients that the servers will have 99.99% availability.
At the end of the month, the client has requested for the server availability details.
Which of the following playbook will fetch the required details?
--- - hosts: mail become: true become_method: sudo tasks: - name: Find the uptime of the server register: uptimeoutput command: "uptime" - debug: var: uptimeoutput.stdout_lines
--- - hosts: mail become: true become_method: sudo tasks: - name: Find the uptime of the server command: "uptime" - debug: var: uptimeoutput.stdout_lines
--- - hosts: mail become: true become_method: sudo tasks: - name: Find the uptime of the server register: uptimeoutput command: "uptime" - debug: msg: uptimeoutput.stdout_lines
--- - hosts: mail become: true become_method: sudo tasks: - name: Find the uptime of the server register: uptimeoutput command: "uptime" - debug: - uptimeoutput.stdout_lines
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