Open jooola opened 5 months ago
Ansible is capable of printing diffs for before and after a module has run.
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_checkmode.html#using-diff-mode
None of our modules implement this feature, which can be handy.
Most of the following steps are already implemented for the logic of our modules, only a few are missing to implement the diff:
To simplify the implementation, a refactor might be needed to use the same structure on all our modules.
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.
SUMMARY
Ansible is capable of printing diffs for before and after a module has run.
https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_checkmode.html#using-diff-mode
None of our modules implement this feature, which can be handy.
ISSUE TYPE
ADDITIONAL INFORMATION
Most of the following steps are already implemented for the logic of our modules, only a few are missing to implement the diff:
To simplify the implementation, a refactor might be needed to use the same structure on all our modules.