Hey guys. I was looking for a solution for the same thing and couldn’t find anything. So I came up with a workaround which works for my needs, although it’s probably not optimal.
The idea is to define all extra vars as a single secret. So I have an ANSIBLE_EXTRA_VARS secret which looks like this (note that variables are space separated):
foo=bar ansible_become_pass=baz etc=foo
Then in .drone.yml I simply use this secret and pass it to the step config: