I will give 1 more reason .. eg someone upgrade OS from 16.04 to 20.04 .. may forget to update the custom attributes...
On Monday, February 22, 2021 at 2:41:08 PM UTC-8 [email protected] wrote: > Hi > > Here are my custom attributes > > > [image: Capture.JPG] > > > Today these are populated with > community.vmware.vmware_guest_custom_attributes > > > But that is manually from the file.. it has human error possible > > eg Ubuntu 20.04 folks may type Ubuntu20.4 > > > There is facts which ansible gather has the OS info.. eg -m setup -a > "filter=ansible_distribution_version" > > > Is it somehow possible to get the OS info populated "automatically" with a > playbook .. ie update the custom attributes dynamically with real time data > ? > > Any suggestions Please ? > > Thanks > -- 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/6a28a2f4-92d4-4963-8a8d-0c79c64b87cbn%40googlegroups.com.
