I've suggested previously on list that if someone wants to make the
creates= and removes= functionality generic through use of
AnsibleModuleCommon code, I'll support that.
Until then, you should use a "register" statement with the shell
module and then use a conditional.