I don't foresee any harm, other than possibly users on very old Ansible versions starting to see a warning about the existence of a module that could be used instead of some explicit command.
Note: I've tested this manually. I intend to follow this up with adding newer Ansible versions to the test matrices that we have, but that's gonna take a little bit more time and I'd rather put out this fix as soon as we can.
Fixes #564. Any execution path that hit any of the affected commands would fail on Ansible 7 and above.
Further context can be found in https://github.com/ansible/ansible/blob/v2.11.0/changelogs/CHANGELOG-v2.11.rst#deprecated-features.
I don't foresee any harm, other than possibly users on very old Ansible versions starting to see a warning about the existence of a module that could be used instead of some explicit command.
Note: I've tested this manually. I intend to follow this up with adding newer Ansible versions to the test matrices that we have, but that's gonna take a little bit more time and I'd rather put out this fix as soon as we can.