How to bypass "noexec" Permission Issue On "/tmp" and "/var/tmp" During Ansible Tower and Ansible Automation Platform installation?

Solution Verified - Updated -


  • Ansible Tower Installation is failing on Task [name: ensure that /var /var/tmp and /tmp are not mounted w/ noexec] due to "noexec" permission on "/tmp" and "/var/tmp".
  • Ansible automation platform installation fails with the following error.

    TASK [ansible.automation_platform_installer.preflight : Fail if the filesystem is mounted with noexec] ***
    failed: [] (item={'changed': True, 'found': 1, 'msg': '1 line(s) removed', 'backup': '', 'diff': [{'before': '', 'after': '', 'before_header': '/proc/mounts (content)', 'after_header': '/proc/mounts (content)'}, {'before_header': '/proc/mounts (file attributes)', 'after_header': '/proc/mounts (file attributes)'}], 'invocation': {'module_args': {'name': '/proc/mounts', 'regexp': ' /var .*noexec', 'state': 'absent', 'path': '/proc/mounts',


  • Ansible Tower >= 3.4
  • Ansible Automation Platform 2.x

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