shell: whoami is returning root. But root access isn't required to run that script from the command line.
changed: [esserver] => {"changed": true, "cmd": "whoami", "delta": "0:00:00.014084", "end": "2015-10-21 20:28:46.975832", "rc": 0, "start": "2015-10-21 20:28:46.961748", "stderr": "", "stdout": "root", "warnings": []}