Good Day all.
I'm trying to figure out how to create an LV when ansible_facts cannot see the VG.
If I run 'ansible all -m setup' no ansible_lvm to display
if I run 'ansible all -m setup | grep vg01' I get no result
If I run "ansible all -m command -a 'vgs' -b" get a result and can see the VG vg01
This is confusing, Is the VG created but ansible_facts does not recognise it ?
How would I create an LV on a VG that is not seen by ansible_facts.
Any feedback would be appreciated.
@cvb97 Can you try if the below works?
ansible all -m setup -a 'filter=ansible_lvm'
If it does we can write a small task to refresh the facts of lvm data.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.