Skip to content

Commit 932a924

Browse files
author
William Graef
committed
remove condition on grow root fs
1 parent b0c1cfb commit 932a924

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ocne2/create_instance.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@
295295
- name: Grow the root filesystem
296296
ansible.builtin.shell: |
297297
/usr/libexec/oci-growfs -y
298-
when: (boot_volume_size_in_gbs is defined) and (boot_volume_size_in_gbs > 50)
298+
register: result
299+
changed_when: result.rc == 0
299300

300301
- name: Configure instance
301302
ansible.builtin.include_tasks: "host_setup.yml"

0 commit comments

Comments
 (0)