fix playbook
This commit is contained in:
parent
2b31c70a8c
commit
51ba92ecd7
@ -1,12 +1,15 @@
|
||||
---
|
||||
- name: Perform a ReaR backup before the /boot expansion
|
||||
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
||||
when:
|
||||
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | default(false) | bool
|
||||
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | default(false) | bool)
|
||||
- not bigboot_rear_backup_skip | default(false) | bool
|
||||
- name: Perform logical volume and boot parition resizing as needed
|
||||
hosts: all
|
||||
become: true
|
||||
gather_facts: true
|
||||
strategy: free
|
||||
|
||||
- name: ReaR backup per host
|
||||
vars_files:
|
||||
- bigboot_vars.yml
|
||||
|
||||
tasks:
|
||||
- name: ReaR backup per host
|
||||
ansible.builtin.import_role:
|
||||
name: rhc.rear.rear_backup
|
||||
vars:
|
||||
@ -17,3 +20,4 @@
|
||||
label: "{{ item['key'] }}"
|
||||
when:
|
||||
- item['value']['bigboot_execute_bigboot'] | bool
|
||||
- not bigboot_rear_backup_skip | default(false) | bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user