remove filesystem checks for now

This commit is contained in:
Chris Hammer 2024-07-12 15:03:31 -04:00
parent 22d10c2934
commit b42b725c35
2 changed files with 24 additions and 24 deletions

View File

@ -36,10 +36,13 @@
- bigboot_vars.yml - bigboot_vars.yml
tasks: tasks:
- name: Perform filesystem check prior to Bigboot execution - name: Perform service and filesystem checks prior to Bigboot execution
when: when:
- (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool) - (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool)
block: block:
# - name: Check for and disable services exceeding the timeout threshold
# ansible.builtin.import_tasks: tasks/check_systemd_services.yml
- name: Enable Grub filesystem check - name: Enable Grub filesystem check
ansible.builtin.import_role: ansible.builtin.import_role:
name: autofsck name: autofsck
@ -60,9 +63,6 @@
- name: Flush handlers - name: Flush handlers
ansible.builtin.meta: flush_handlers ansible.builtin.meta: flush_handlers
- name: Check for and disable services exceeding the timeout threshold
ansible.builtin.import_tasks: tasks/check_systemd_services.yml
- name: Extend the timeout values for physical hosts - name: Extend the timeout values for physical hosts
ansible.builtin.set_fact: ansible.builtin.set_fact:
@ -85,12 +85,12 @@
when: when:
- bigboot_execute_bigboot | bool - bigboot_execute_bigboot | bool
- name: Re-enabling services previously disabled # - name: Re-enabling services previously disabled
ansible.builtin.service: # ansible.builtin.service:
name: "{{ item }}" # name: "{{ item }}"
state: started # state: started
enabled: true # enabled: true
loop: "{{ bigboot_systemd_disabled_services }}" # loop: "{{ bigboot_systemd_disabled_services }}"
when: # when:
- bigboot_systemd_disabled_services is defined # - bigboot_systemd_disabled_services is defined
- bigboot_systemd_disabled_services | length > 0 # - bigboot_systemd_disabled_services | length > 0

View File

@ -13,8 +13,8 @@
when: when:
- (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool) - (bigboot_execute_shrink_lv | bool or bigboot_execute_bigboot | bool)
block: block:
- name: Check for and disable services exceeding the timeout threshold # - name: Check for and disable services exceeding the timeout threshold
ansible.builtin.import_tasks: tasks/check_systemd_services.yml # ansible.builtin.import_tasks: tasks/check_systemd_services.yml
- name: Enable Grub filesystem check - name: Enable Grub filesystem check
ansible.builtin.import_role: ansible.builtin.import_role:
@ -60,12 +60,12 @@
when: when:
- bigboot_execute_bigboot | bool - bigboot_execute_bigboot | bool
- name: Re-enabling services previously disabled # - name: Re-enabling services previously disabled
ansible.builtin.service: # ansible.builtin.service:
name: "{{ item }}" # name: "{{ item }}"
state: started # state: started
enabled: true # enabled: true
loop: "{{ bigboot_systemd_disabled_services }}" # loop: "{{ bigboot_systemd_disabled_services }}"
when: # when:
- bigboot_systemd_disabled_services is defined # - bigboot_systemd_disabled_services is defined
- bigboot_systemd_disabled_services | length > 0 # - bigboot_systemd_disabled_services | length > 0