Sync ZFS pool names
Currently in AIO we have 2 possible path depending on presence of second drive in CI VM. For ZFS scenario we have pool name desynced that wasn't catched before as issue highly depends on CI providers. Change-Id: I63af16c3deb8a66a4ba4aad56fa5ed5df988d7f8
This commit is contained in:
parent
828713d5e3
commit
4a0a721b47
@ -125,14 +125,14 @@
|
||||
- install-packages
|
||||
|
||||
- name: Create the ZFS pool
|
||||
command: zpool create pool "/dev/{{ _bootstrap_host_data_disk_device }}2"
|
||||
command: zpool create osa-test-pool "/dev/{{ _bootstrap_host_data_disk_device }}2"
|
||||
args:
|
||||
creates: /pool
|
||||
creates: /osa-test-pool
|
||||
when:
|
||||
- bootstrap_host_data_disk_device_force | bool
|
||||
|
||||
- name: Create the ZFS pool/lxc volume
|
||||
shell: "(zfs list | grep lxc) || zfs create -o mountpoint=/var/lib/lxc pool/lxc"
|
||||
- name: Create the ZFS osa-test-pool/lxc volume
|
||||
shell: "(zfs list | grep lxc) || zfs create -o mountpoint=/var/lib/lxc osa-test-pool/lxc"
|
||||
when:
|
||||
- bootstrap_host_data_disk_device_force | bool
|
||||
tags:
|
||||
|
Loading…
x
Reference in New Issue
Block a user