Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass the Makefile python exe to ansible-playbook #15282

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

AlanCoding
Copy link
Member

SUMMARY

Checks are failing, see #15280

This attempts to make checks pass again.

Simplified local reproducer for the problem:

pip install ansible-core==2.16.6
make docker-compose-sources

Everything good, that works fine. Now do:

pip install ansible-core==2.17.1
make docker-compose-sources

fails with

PLAY [Render AWX Dockerfile and sources] *********************************************************************

TASK [Gathering Facts] ***************************************************************************************
fatal: [localhost]: FAILED! => {"ansible_facts": {}, "changed": false, "failed_modules": {"ansible.legacy.setup": {"failed": true, "module_stderr": "/bin/sh: line 1: /usr/bin/env python3: No such file or directory\n", "module_stdout": "", "msg": "The module failed to execute correctly, you probably need to set the interpreter.\nSee stdout/stderr for the exact error", "rc": 127}}, "msg": "The following modules failed to execute: ansible.legacy.setup\n"}

PLAY RECAP ***************************************************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0  

I do this on just a bare Fedora machine.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

@AlanCoding AlanCoding merged commit d5bad1a into ansible:devel Jun 18, 2024
21 of 22 checks passed
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants