tests/installed: Disable all rpmmd repos
For the same reason we do in the rpm-ostree tests. This also made sure the test run worked when I was offline on a plane. Closes: #1583 Approved by: jlebon
This commit is contained in:
1 parent
ba628da9ad
commit
605d313206
2 files changed
+6
No files matched your search
@@ -8,6 +8,7 @@
|
|||||||
use_git_build: True
|
use_git_build: True
|
||||||
tests: "."
|
tests: "."
|
||||||
tasks:
|
tasks:
|
||||||
|
- import_tasks: tasks/disable-all-rpmmd-repos.yml
|
||||||
- import_tasks: tasks/query-host.yml
|
- import_tasks: tasks/query-host.yml
|
||||||
- set_fact:
|
- set_fact:
|
||||||
rpmostree_initial_deployment: "{{ rpmostree_status[\"deployments\"][0] }}"
|
rpmostree_initial_deployment: "{{ rpmostree_status[\"deployments\"][0] }}"
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
- name: Disable all rpmmd repos
|
||||||
|
shell: |
|
||||||
|
for x in /etc/yum.repos.d/*.repo; do
|
||||||
|
sed -i -e 's,^enabled=,enabled=0,g' $x
|
||||||
|
done
|
||||||
Reference in new issue
Block a user