If you can then upgrade to 2.6 version so you get other 2.6 new features. If you have any restriction to upgrade from 2.4 to 2.6 then may be you can use that specific module as custom module in your playbook library directory or role library directory.