Skip to content

Pass the Makefile python exe to ansible-playbook#15282

Merged
AlanCoding merged 1 commit into
ansible:develfrom
AlanCoding:our_python
Jun 18, 2024
Merged

Pass the Makefile python exe to ansible-playbook#15282
AlanCoding merged 1 commit into
ansible:develfrom
AlanCoding:our_python

Conversation

@AlanCoding

Copy link
Copy Markdown
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
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