opengear / opengear.om

Ansible Network Collection for Opengear OM
GNU General Public License v3.0
5 stars 7 forks source link

Feature Request: support diff mode #5

Open ghost opened 1 year ago

ghost commented 1 year ago

Happy that the ansible modules are on track to be usable again!

Cool thing is, that check mode works. What would be really great to also have the --diff mode work as well. Let's take adding and removing users as an example:

$ ansible-playbook user_config.yaml --diff

PLAY [opengear_om] ********************************************************************************************************************************************************

TASK [Add user] ***********************************************************************************************************************************************************
changed: [om-test]

TASK [Delete user] ********************************************************************************************************************************************************
changed: [om-test]

PLAY RECAP ****************************************************************************************************************************************************************
om-test                    : ok=2    changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   

Would be really helpful to see which user are/were added/deleted. And to let it run in checkmode, eye-ball the changes and then decide if to apply them.

Thanks a lot for considering this!

mattwit commented 1 year ago

Thanks for the feedback! We are taking a look at this. Currently there is no timetable, but we'll post a status update in a few weeks.

ghost commented 1 year ago

Thank a lot @mattwit, much appreciated!