diff --git a/changelogs/fragments/108-host_fs_layout.yaml b/changelogs/fragments/108-host_fs_layout.yaml new file mode 100644 index 000000000..94ba9a756 --- /dev/null +++ b/changelogs/fragments/108-host_fs_layout.yaml @@ -0,0 +1,3 @@ +--- +bugfixes: + - 'does not require host_fs_layout to have "disks" attribute when "configure_host_disks==false" (#108)' \ No newline at end of file diff --git a/roles/orahost/tasks/main.yml b/roles/orahost/tasks/main.yml index f365886be..ccc369b25 100644 --- a/roles/orahost/tasks/main.yml +++ b/roles/orahost/tasks/main.yml @@ -261,7 +261,9 @@ with_subelements: - "{{ host_fs_layout }}" - disk - when: configure_host_disks and item.1.device != item.1.pvname + - flags: + skip_missing: true + when: configure_host_disks and item.1 is defined and item.1.device != item.1.pvname tags: hostfs - name: filesystem | Create vg