its working now. Below is the code
- set_fact:
highest_vg: "{{ ansible_lvm.vgs | select('match', '^vg[0-9]+') |
list | sort | last }}"
- debug:
var: highest_vg
Thank you Dick Visser again for your help!
On Monday, June 15, 2020 at 5:57:08 PM UTC-5, ravi teja wrote:
>
> Thank you Dick Visser. It’s working for me.
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/45e212b1-570d-4c00-97ea-0114cab91794o%40googlegroups.com.