[maintainer-test] update for single disk rawhide

This commit is contained in:
Mark O'Brien 2020-07-30 11:21:49 +01:00
parent 28daaa71b4
commit b9804f2903
2 changed files with 3 additions and 19 deletions

View file

@ -26,24 +26,12 @@
tasks:
- name: make a partition on second disk
parted: device=/dev/nvme1n1 number=1 state=present
tags:
- maintainer-test
when: inventory_hostname.startswith(('rawhide-test'))
- name: make a partition on first disk
parted: device=/dev/nvme0n1 number=1 state=present
tags:
- maintainer-test
when: inventory_hostname.startswith(('f30-test'))
- name: format the partition if it's not already
filesystem: dev=/dev/nvme1n1p1 fstype=ext4
tags:
- maintainer-test
when: inventory_hostname.startswith(('rawhide-test'))
- name: format the partition if it's not already
filesystem: dev=/dev/nvme0n1p1 fstype=ext4
tags:
@ -51,12 +39,6 @@
when: inventory_hostname.startswith(('f30-test'))
ignore_errors: true
- name: mount cache filesystem on /var/cache/mock
mount: path=/var/cache/mock state=mounted src=/dev/nvme1n1p1 fstype=ext4
tags:
- maintainer-test
when: inventory_hostname.startswith(('rawhide-test'))
- name: mount cache filesystem on /var/cache/mock
mount: path=/var/cache/mock state=mounted src=/dev/nvme0n1p1 fstype=ext4
tags:
@ -67,7 +49,7 @@
mount: path=/var/lib/mock state=mounted src=/var/cache/mock fstype=none opts=bind
tags:
- maintainer-test
when: inventory_hostname.startswith(('rawhide-test','f30-test'))
when: inventory_hostname.startswith(('f30-test'))
- name: Setup maintainer test hosts
hosts: maintainer_test:aarch64_test:armv7_test