Hi list,
I want to use tags in my playbook as variables.
Hi list,
I want to use tags in my playbook as variables.
There’s currently not a variable that gives you the names of all the tags used
We would accept a pull request to add it.
Thank you, and I'll try to implement.
WAKAYAMA Shirou
Is there a way to use tags as variables?
Maybe you want to use --extra-vars instead of tags for those variables?
ansible-playbook -i hosts copyfile.yml --extra-vars=“target=xqa1app3”
My playbook right now using it.
No, you would not want to do that, because then they wouldn’t work with the “tags” keyword.