24 lines
632 B
YAML
24 lines
632 B
YAML
---
|
|
- name: Perform logical volume and boot parition resizing as needed
|
|
hosts: all
|
|
become: true
|
|
gather_facts: true
|
|
strategy: free
|
|
|
|
vars_files:
|
|
- bigboot_vars.yml
|
|
|
|
tasks:
|
|
- name: ReaR backup per host
|
|
ansible.builtin.include_role:
|
|
name: rhc.rear.rear_backup
|
|
vars:
|
|
client_ips: "{{ item['value']['bigboot_size'] }}"
|
|
namehost: "{{ item['key'] }}"
|
|
loop: "{{ bigboot_data | dict2items }}"
|
|
loop_control:
|
|
label: "{{ item['key'] }}"
|
|
when:
|
|
- item['value']['bigboot_execute_bigboot'] | bool
|
|
- not bigboot_rear_backup_skip | default(false) | bool
|