shrink_lv/check-device.yml

18 lines
390 B
YAML

---
- name: Get Mounts
hosts: all
become: true
gather_facts: false
vars:
# bigboot_boot_device_partition_prefix: "{{ bigboot_boot_partition_name[(bigboot_boot_disk | length) : -1] }}"
bigboot_device: "/dev/sda1"
bigboot_prefix: "{{ (bigboot_device | length) : -1 }}"
tasks:
- name: Debug bigboot_prefix
ansible.builtin.debug:
var: bigboot_prefix