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

Custom Python venv does not replace ansible #8440

Closed
ghost opened this issue Oct 22, 2020 · 1 comment
Closed

Custom Python venv does not replace ansible #8440

ghost opened this issue Oct 22, 2020 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Oct 22, 2020

ISSUE TYPE
  • Bug Report
SUMMARY

AWX 15.0.1 does not contain Ansible 2.10.x or newer. This causes the download of collections from git repositories to fail. In an attempt to get the latest version of Ansible for the project sync I created a virtual environment with Ansible 2.10.2 and attempt a project sync with the custom env.

The ansible-galaxy download of the collections in "collections/requirements.yml" fail with the same error as seen in the base env with ansible 2.9.14. This leads me to believe that the project sync is not using ansible from the custom python env.

ENVIRONMENT
  • AWX version: 15.0.1
  • AWX install method: docker on linux
  • Ansible version: 2.10.2?
  • Operating System: CentOS 7
  • Web Browser: Chrome
STEPS TO REPRODUCE
  • Install python custom environments support
  • Create custom environment with Ansible 2.10.0 or newer
  • Add a scm project which contain an "collections/requirements.yml" file
    • the file should contain a SCM/git based collection requirement (based on Ansible 2.10.x)
  • Set custom environment for the scm project
  • Run sync
EXPECTED RESULTS

Collection from SCM/git repository successfully downloaded using ansible-galaxy.

ACTUAL RESULTS

Project sync fails with syntax error as seen here #8257.

ADDITIONAL INFORMATION

When will Ansible 2.10.x be shipped with AWX?

@wenottingham
Copy link
Contributor

It won't be, most likely.

See #5157

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants