35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
---
|
|
- name: Capture boot and logical volume information
|
|
hosts: all
|
|
become: true
|
|
gather_facts: true
|
|
strategy: free
|
|
|
|
vars:
|
|
bigboot_size_target: 1G
|
|
ansible_ssh_retries: 10
|
|
|
|
tasks:
|
|
- name: Cleanup from any previous executions
|
|
ansible.builtin.import_tasks: tasks/cleanup.yml
|
|
|
|
- name: Capture boot device details
|
|
ansible.builtin.import_tasks: tasks/capture_boot_device_details.yml
|
|
|
|
- name: Capture logical volume information
|
|
ansible.builtin.import_tasks: tasks/capture_lv_device_details.yml
|
|
|
|
- name: Set environment for subsequent workflow nodes
|
|
ansible.builtin.set_stats:
|
|
data:
|
|
bigboot_execute_bigboot: "{{ bigboot_execute_bigboot }}"
|
|
bigboot_execute_shrink_lv: "{{ bigboot_execute_shrink_lv }}"
|
|
bigboot_adjacent_lvm_device: "{{ bigboot_adjacent_lvm_device }}"
|
|
bigboot_lv_shrink_size: "{{ bigboot_lv_shrink_size | int }}"
|
|
bigboot_size: "{{ bigboot_size }}"
|
|
bigboot_skip_rear_backup: "{{ bigboot_skip_rear | default('false') }}"
|
|
per_host: false
|
|
aggregate: false
|
|
|
|
...
|