# custom strategy plugin with end\_host in ansible 2.7.5

**URL:** <https://forum.ansible.com/t/custom-strategy-plugin-with-end-host-in-ansible-2-7-5/31713>\
**Category:** Ansible Project\
**Created:** [November 23, 2019, 8:09am UTC](https://forum.ansible.com/t/custom-strategy-plugin-with-end-host-in-ansible-2-7-5/31713 "2019-11-23T08:09:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gunaseelan](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@Gunaseelan](https://forum.ansible.com/u/Gunaseelan)\
**Post date:** [November 23, 2019, 8:09am UTC](https://forum.ansible.com/t/custom-strategy-plugin-with-end-host-in-ansible-2-7-5/31713/1 "2019-11-23T08:09:19Z")

</div>

I want to create custom strategy\_plugins in ansible 2.7

There is new [https://github.com/ansible/ansible/pull/47194/files](https://github.com/ansible/ansible/pull/47194/files) meta: end\_host is added in ansible v2.8.3  
But currently my envirnoment is running with ansible 2.7.5 so i have created the strategy\_plugins directory under my roles and added these files and set strategy\_dir\_path set correctly in ansible.cfg.  
but still i am getting the error invalida meta name argument

Let me know how to create custom strategy plugin to port above PR

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [November 23, 2019, 10:36am UTC](https://forum.ansible.com/t/custom-strategy-plugin-with-end-host-in-ansible-2-7-5/31713/2 "2019-11-23T10:36:36Z")

</div>

Are you sure you want to put effort into back-porting something to a version that will soon be EOL?

Unless you’re trapped in policies that mandate the use of EOL software, I’d divert the resources into moving your environment to 2.9 so you will be able to use this plugin natively (and potentially have many other benefits).

Dick

---

<div class="post-metadata">

**Author:** ![Gunaseelan](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@Gunaseelan](https://forum.ansible.com/u/Gunaseelan)\
**Post date:** [November 23, 2019, 12:54pm UTC](https://forum.ansible.com/t/custom-strategy-plugin-with-end-host-in-ansible-2-7-5/31713/3 "2019-11-23T12:54:54Z")

</div>

I totally understand but production is running is running with 2.7 do you have any suggestion to custom strategy to use end-host in meta module
