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

Update conditional in project update playbook - require min Ansible 2.9 to install collections #7769

Closed
AlanCoding opened this issue Jul 30, 2020 · 2 comments

Comments

@AlanCoding
Copy link
Member

ISSUE TYPE
  • Bug Report
SUMMARY

This needs to be backed off from 2.8 to 2.9:

- "ansible_version.full is version_compare('2.8', '>=')"

Because if you run with Ansible 2.8, it gives blank stdout and that's confusing.

If my research is correct, @jborean93 added the ansible-galaxy collection CLI in ansible/ansible#57106, which was 2.9. Version 2.8 seems to mistake these invocations for a role command, and it doesn't work right.

@kdelee
Copy link
Member

kdelee commented Aug 18, 2020

This is done, now collections will only be installed if ansible running the project update is >= 2.9

@kdelee kdelee closed this as completed Aug 18, 2020
@kdelee kdelee self-assigned this Aug 18, 2020
@AlanCoding
Copy link
Member Author

We might also want to change some conditional skips in tower-qa, because the reason we saw this was because some tests were failing unexpectedly in 2.8. Best approach may be just to run tests with 2.8 and see what happens.

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

No branches or pull requests

4 participants