File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2727 growroot_vg : " rootvg"
2828 # Don't assume facts are present.
2929 os_family : " {{ ansible_facts.os_family | default('Debian' if os_distribution == 'ubuntu' else 'RedHat') }}"
30- # LVM override
31- growroot_skip_lvm_check : false
30+ # Ignore LVM check
31+ growroot_ignore_lvm_check : false
3232
3333 tasks :
3434 - name : Check LVM status
8080 pv : " {{ pvs.stdout | from_json }}"
8181 disk : " {{ pv.report[0].pv[0].pv_name }}"
8282 become : true
83- when : lvm_check.rc == 0 or not growroot_skip_lvm_check | bool
83+ when : lvm_check.rc == 0 or growroot_ignore_lvm_check
8484# when: "'NOCHANGE' not in growpart.stdout"
8585# Commenting out the conditional because growpart is already triggered by cloud-init - hence it emits NOCHANGE
8686# Cloud-Inits growpart implementation has a bug https://bugzilla.redhat.com/show_bug.cgi?id=2122575
You can’t perform that action at this time.
0 commit comments