Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade task to use
get_checksum
instead of deprecated get_md5
When running on the stable version of ansible, I got the following error: ``` TASK [sunfoxcz.dkim : ensure signing key is present] ******************************************************************* fatal: [hostname]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (stat) module: get_md5. Supported parameters include: checksum_algorithm, follow, get_attributes, get_checksum, get_mime, path (attr, attributes, checksum, checksum_algo, dest, mime, mime-type, mime_type, name)."} ``` After looking online for the error, I found this occurrence for a similar case: geerlingguy/ansible-role-swap#32 Seems like `get_md5` is deprecated, so this change modifies it to use `get_checksum`.
- Loading branch information