Skip to content

Commit

Permalink
bugfix: host_fs_layout needed disk attribute even if configure_host_d…
Browse files Browse the repository at this point in the history
…isks==false
  • Loading branch information
bartowl committed Jul 11, 2022
1 parent 473c046 commit 300bcd1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelogs/fragments/108-host_fs_layout.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "does not require host_fs_layout to have "disks" attribute when "configure_host_disks==false" (#108)"
4 changes: 3 additions & 1 deletion roles/orahost/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 300bcd1

Please sign in to comment.