ansible/test/integration/targets/setup_rpm_repo/handlers/main.yml
Sam Doran 997b2d2a19
Make yum_repository test more reliable (#73467)
* Improve setup_rpm_repo

- add handlers to remove repos
- add variable to control whethere or not repos are created

* Use local repo for all distros
* Change repo creation script to module
2021-02-03 17:34:12 -08:00

5 lines
102 B
YAML

- name: remove repos
yum_repository:
state: absent
name: "{{ item }}"
loop: "{{ repos }}"