Closed braindevices closed 3 years ago
this is actually an ansible bug. The ansible some how kept an very old version of ansible_collections in ~/.ansible. Even thought the ansible-galaxy collection list
show all collections are at latest version, the actual ansible run transfer the old modules to remote.
SUMMARY
in the example of the document, it does not require name at all:
But in practical it requires name. Even worse, if I have several networks, the ansible_libvirt_networks only store the facts of last network called with virt_net.facts. It should not require any name and if multiple names are given it should just put all facts of all networks in ansible_libvirt_networks
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 2004, Fedora 33, Centos8
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS