mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
d462a425f2
If the module is set to absent, read all possible configurations and remove them. i.e. not just do a 'no switchport', as leaving around other options make the logic handling harder. If the user wants to remove switchport, remove all config for the interface and finally push a 'no switchport'. Also, I needed to map all possible params from interface regardless if state is absent or present, so I can later detect what I need to remove in case of absent. |
||
---|---|---|
.. | ||
ansible |