---
- include: volume.yml
  when: lvm_physical_device != ""

- name: save volume group name (null) as fact
  set_fact:  volume_group_name=""
  when: lvm_physical_device == ""
  tags:
    - lvm

---
- include: volume.yml
  when: lvm_physical_device != ""

- name: save volume group name as fact
  set_fact:  volume_group_name="{{ lvm_volume_group_name }}"
  tags:
    - lvm

Save VG name as fact
Save VG name as fact
