include role instead of import playbook
This commit is contained in:
parent
3cc0f210e6
commit
9284232e47
@ -5,6 +5,9 @@
|
||||
gather_facts: true
|
||||
strategy: free
|
||||
|
||||
vars_files:
|
||||
- bigboot_vars.yml
|
||||
|
||||
tasks:
|
||||
- name: Debug bigboot_execute_shrink_lv
|
||||
ansible.builtin.debug:
|
||||
@ -15,7 +18,8 @@
|
||||
msg: "bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] -> {{ bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] }}"
|
||||
|
||||
- name: Perform a ReaR backup before the /boot expansion
|
||||
ansible.builtin.import_playbook: rhc.rear.rear_backup
|
||||
ansible.builtin.include_role:
|
||||
name: rhc.rear.rear_backup
|
||||
when:
|
||||
- (bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | bool
|
||||
or bigboot_data[inventory_hostname]['bigboot_execute_bigboot'] | bool)
|
||||
|
Loading…
x
Reference in New Issue
Block a user