Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve bigboot role when called in check mode #78

Merged
merged 3 commits into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions roles/bigboot/tasks/do_bigboot_reboot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@
Boot filesystem size is now
{{ bigboot_boot_fs_new_size | int | human_readable }}
({{ (bigboot_boot_fs_new_size | int - bigboot_boot_fs_original_size | int) | human_readable }} increase)
when: not ansible_check_mode
1 change: 1 addition & 0 deletions roles/bigboot/tasks/prep_lvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
-o vg_extent_size {{ bigboot_next_partition_vg }}
changed_when: false
register: vg_extent_size
check_mode: false

- name: Align bigboot increase to extent size
ansible.builtin.set_fact:
Expand Down
1 change: 1 addition & 0 deletions roles/initramfs/tasks/preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
cmd: /sbin/grubby --default-kernel
register: initramfs_grubby_rc
changed_when: false
check_mode: false

- name: Parse default kernel version
ansible.builtin.set_fact:
Expand Down
Loading