custom strategy plugin with end_host in ansible 2.7.5

18 views
Skip to first unread message

gunaseelan

unread,
Nov 23, 2019, 3:09:19 AM11/23/19
to Ansible Project

I want to create custom strategy_plugins in ansible 2.7

There is new 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

Dick Visser

unread,
Nov 23, 2019, 5:37:10 AM11/23/19
to ansible...@googlegroups.com
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 



--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/30c7c208-b006-4022-a5ca-3d58052308f3%40googlegroups.com.
--
Sent from a mobile device - please excuse the brevity, spelling and punctuation.

Gunaseelan

unread,
Nov 23, 2019, 7:55:19 AM11/23/19
to ansible...@googlegroups.com
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 

Reply all
Reply to author
Forward
0 new messages