amotolani / fmc_collections

Ansible Collections for Cisco FMC API
6 stars 4 forks source link

fixed check for the existing zone configuration #17

Closed outlawww closed 2 years ago

outlawww commented 2 years ago

the module would always set the "changed=true" because FMC api return "InterfaceMode" in capital letters. also, there was missing final "else" if zone exists and nothing was changed.