Translated message

A translation of this page exists in English.

在 Ansible Tower 和 Ansible Automation Platform 的安装过程中,如何绕过 "/tmp" 和 "/var/tmp" 的 "noexec" 权限问题?

Solution In Progress - Updated -

Issue

  • Ansible Tower 安装失败: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 安装失败,并显示以下错误。

    TASK [ansible.automation_platform_installer.preflight : Fail if the filesystem is mounted with noexec] ***
    failed: [aap.example.com] (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',
    

Environment

  • 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