is it possible to create tags from a variable?

I have a list of tasks, but very similar to each other yet I want to tag them differently. I want to do something like this:

  • name: set db password
    action: command ./set_password {{ item }}
    tags:
  • common-tag
  • {{ item }}
    with_items:
  • httpd
  • mysql

Is this possible? Thanks…

No, this is not possible.

– Michael