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
apt: allow for integration tests using fake repo #37639
Conversation
chdir: "{{ repodir }}" | ||
|
||
- name: Install the repo | ||
apt_repository: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This repo should be removed when the test ends (success or failure) along with the installed package(s).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, should be fixed. Also did that in the yum tests - #37770.
SUMMARY
Just like we have with yum https://github.com/ansible/ansible/tree/devel/test/integration/targets/setup_rpm_repo
ISSUE TYPE
COMPONENT NAME
apt
tests
ANSIBLE VERSION
ADDITIONAL INFORMATION