"sudo: effective uid is not 0" for callback script from tower on AWS?

Hi
I get this as a response from tower for a callback script. Tower and provisioned machine are running on AWS.


Any help appreciated.


{
  "msg": "sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?\n",
  "failed": true,
  "parsed": false,
  "play": "callback script for setting up site on autoscaled machine",
  "ignore_errors": false,
  "status": "failed",
  "module_name": "setup",
  "module_complex_args": {},
  "module_args": "",
  "created": "2015-11-26T16:27:22.929Z",
  "role": "",
  "host_id": null,
  "host_name": "localhost",
  "id": 2884,
  "parent": 2882,
  "event": "Host Failed"
}

the call back script is pretty simple.

for tower issues please submit questions to support.ansible.com or support@ansible.com, this list is for the ansible open source project.