It there any difference of using Tags on Linux server Playbook and Windows server Playbook ?

I am using 2 tags in a playbook to manage Linux server and I want to use same tags in a Playbook to manage Windows server. Is there be any difference in mentioning Tags in Window playbook i.e
-Package = Yes
-Configuration = yes

Linux playbook
Tags:

  • configuration
  • packages

Window playbook
Tags:

  • Configuration = yes
  • Package

According to the docs at

https://docs.ansible.com/ansible/latest/playbooks_tags.html tags are used to filter tasks or playbooks from the command line.
If that’s what you mean by “manage” then great.
Tags are just strings (i.e. “configuration”), but what you’re doing (“configuration = Yes”) is a key-value. It sounds as though you’re trying to supply a variable?

Instead of guessing what you mean from ambiguous and incomplete information, please tell clearly:

  • what are you trying to achieve
  • how are you doing this
  • what does the relevant task/playbook/code/variables look like?

Thx!