# Deprecated Warning: Using variables for task params is unsafe, but

**URL:** <https://forum.ansible.com/t/deprecated-warning-using-variables-for-task-params-is-unsafe-but/25760>\
**Category:** Ansible Project\
**Created:** [October 17, 2017, 5:04am UTC](https://forum.ansible.com/t/deprecated-warning-using-variables-for-task-params-is-unsafe-but/25760 "2017-10-17T05:04:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Eisenblatter](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@Mark\_Eisenblatter](https://forum.ansible.com/u/Mark_Eisenblatter)\
**Post date:** [October 17, 2017, 5:04am UTC](https://forum.ansible.com/t/deprecated-warning-using-variables-for-task-params-is-unsafe-but/25760/1 "2017-10-17T05:04:53Z")

</div>

hello list,

i wanted feed all needed Options to module os\_server via a Lookup plugin.  
this way i would be able to out every logic we need in on plugin.

but as i understand this feature is deprecated.

I can use the lookup for every value of a param, but then i need a task for every combination of params that we use in our environment, with the normal problem that i need to alter every task wen we have some basic change.  
And something like ‘meta:’ is different for any type of server?

does anybody have some idea to tackle this problem?

Thanks in advanced  
Mark
