Hi all, I think I am not the only one who is being confused by how tags on roles work:
- roles:
- { role: xyz, tags: 'whatever'}
This does *not* call only the parts of the role that are tagged
'whatever', instead all tasks in this role are being tagged whatever
and are being called.
Is there any way to just run the parts of a role that are having a
certain tag?
One workaround would be to add a certain variable to the role call,
and just run the task in the role when this variable has the right
value. But how to do that?
Thanks in advance,
Johannes
--
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/56E07F02.9000205%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
