Skip to content

Commit a4f2370

Browse files
Change skip_lvm_check to ignore_lvm_check
1 parent d626eea commit a4f2370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

etc/kayobe/ansible/growroot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
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
@@ -80,7 +80,7 @@
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

0 commit comments

Comments
 (0)