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 27
27
growroot_vg : " rootvg"
28
28
# Don't assume facts are present.
29
29
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
32
32
33
33
tasks :
34
34
- name : Check LVM status
80
80
pv : " {{ pvs.stdout | from_json }}"
81
81
disk : " {{ pv.report[0].pv[0].pv_name }}"
82
82
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
84
84
# when: "'NOCHANGE' not in growpart.stdout"
85
85
# Commenting out the conditional because growpart is already triggered by cloud-init - hence it emits NOCHANGE
86
86
# 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