R Systems interview question

First Round: Write Ansible file to deploy Nginx to 10000 servers.

Interview Answer

Anonymous

14 Apr 2024

Wrote Ansbile file containing tasks to yum install, start nginx service using command module and check the service status. The checking part was incorrect as I was supposed to save output of command in variable using "register" and then have another task with debug module to print it as message.