Ansible Tower fails running a playbook with a "Permission denied: /tmp/" error after hardening

Solution Verified - Updated -

Issue

  • Ansible Tower fails running a playbook with an error similar to:

    "Permission denied: '/tmp/bwrap_36_7xx9nwnj/awx_36_29i9a5tj/tmp2jn9oij6'"
    
  • Ansible Tower fails running a playbook after being hardened with CIS Benchmarks for Red Hat Enterprise Linux guidelines that suggest the /tmp mount point to have the noexec option.

Environment

  • Red Hat Ansible Tower 3.8
  • Red Hat Ansible Automation Platform 1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content