fixes
This commit is contained in:
parent
58ffce84ed
commit
eb2e9eb4ae
@ -74,11 +74,16 @@
|
|||||||
when:
|
when:
|
||||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool
|
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool
|
||||||
|
|
||||||
|
- name: Get the list of services on the host
|
||||||
|
ansible.builtin.service_facts:
|
||||||
|
|
||||||
- name: Re-enabling Docker service
|
- name: Re-enabling Docker service
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: docker.service
|
name: docker.service
|
||||||
state: started
|
state: started
|
||||||
enabled: true
|
enabled: true
|
||||||
|
when:
|
||||||
|
- "'docker.service' in ansible_facts['services']"
|
||||||
|
|
||||||
- name: Re-enabling services previously disabled
|
- name: Re-enabling services previously disabled
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
|
@ -2,5 +2,6 @@
|
|||||||
- name: Perform a ReaR backup if any disk modifications are to be made
|
- name: Perform a ReaR backup if any disk modifications are to be made
|
||||||
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
||||||
when:
|
when:
|
||||||
- bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default('false') | bool
|
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool
|
||||||
- not bigboot_data[inventory_hostname]['bigboot_skip_rear_backup'] | default('true') | bool
|
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
|
||||||
|
- not bigboot_skip_rear | default('true') | bool
|
||||||
|
@ -12,11 +12,16 @@
|
|||||||
- name: Cleanup from any previous executions
|
- name: Cleanup from any previous executions
|
||||||
ansible.builtin.import_tasks: tasks/cleanup.yml
|
ansible.builtin.import_tasks: tasks/cleanup.yml
|
||||||
|
|
||||||
|
- name: Get the list of services on the host
|
||||||
|
ansible.builtin.service_facts:
|
||||||
|
|
||||||
- name: Disable Docker service due to incompatibility
|
- name: Disable Docker service due to incompatibility
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: docker.service
|
name: docker.service
|
||||||
state: stopped
|
state: stopped
|
||||||
enabled: false
|
enabled: false
|
||||||
|
when:
|
||||||
|
- "'docker.service' in ansible_facts['services']"
|
||||||
|
|
||||||
- name: Capture boot device details
|
- name: Capture boot device details
|
||||||
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
||||||
@ -34,8 +39,7 @@
|
|||||||
'bigboot_execute_shrink_lv': bigboot_execute_shrink_lv,
|
'bigboot_execute_shrink_lv': bigboot_execute_shrink_lv,
|
||||||
'bigboot_adjacent_lvm_device': bigboot_adjacent_lvm_device,
|
'bigboot_adjacent_lvm_device': bigboot_adjacent_lvm_device,
|
||||||
'bigboot_lv_shrink_size': bigboot_lv_shrink_size | int,
|
'bigboot_lv_shrink_size': bigboot_lv_shrink_size | int,
|
||||||
'bigboot_size': bigboot_size,
|
'bigboot_size': bigboot_size
|
||||||
'bigboot_skip_rear_backup': bigboot_skip_rear | default('false')
|
|
||||||
}
|
}
|
||||||
}) }}"
|
}) }}"
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ bigboot_reboot_timeout: 1800
|
|||||||
bigboot_skip_rear_backup: false
|
bigboot_skip_rear_backup: false
|
||||||
|
|
||||||
# Max value in minutes for the timeout threshold:
|
# Max value in minutes for the timeout threshold:
|
||||||
bigboot_service_max_timeout: 2
|
bigboot_service_max_timeout: 5
|
||||||
|
|
||||||
# List of services which will be excluded from being
|
# List of services which will be excluded from being
|
||||||
# disabled during Bigboot execution:
|
# disabled during Bigboot execution:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user