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

**URL:** <https://forum.ansible.com/t/sudo-effective-uid-is-not-0-for-callback-script-from-tower-on-aws/19867>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [November 26, 2015, 5:50pm UTC](https://forum.ansible.com/t/sudo-effective-uid-is-not-0-for-callback-script-from-tower-on-aws/19867 "2015-11-26T17:50:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adrian\_Black1](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@Adrian\_Black1](https://forum.ansible.com/u/Adrian_Black1)\
**Post date:** [November 26, 2015, 5:50pm UTC](https://forum.ansible.com/t/sudo-effective-uid-is-not-0-for-callback-script-from-tower-on-aws/19867/1 "2015-11-26T17:50:45Z")

</div>

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

```auto

```

```auto
Any help appreciated.

```

```auto

```

```auto

```

```auto
{
  "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"
}

```

```auto

```

```auto
the call back script is pretty simple.

```

```auto

```

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [November 27, 2015, 6:16pm UTC](https://forum.ansible.com/t/sudo-effective-uid-is-not-0-for-callback-script-from-tower-on-aws/19867/2 "2015-11-27T18:16:01Z")

</div>

for tower issues please submit questions to [support.ansible.com](http://support.ansible.com) or [support@ansible.com](mailto:support@ansible.com), this list is for the ansible open source project.
