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!

On Mon, 29 Jul 2019 at 00:57, Muhammad Chughtai <
[email protected]> wrote:

> 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
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/e5de566e-aa68-41f3-a6a2-54f18649cd80%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/e5de566e-aa68-41f3-a6a2-54f18649cd80%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 
Sent from a mobile device - please excuse the brevity, spelling and
punctuation.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAL8fbwMj7es-RNyWPkYDgGZn_7h0QLzoz9eA%2BnyJ3m6rQO7JBA%40mail.gmail.com.

Reply via email to