---- Question

Is it possible to access the list of provided tags ( --tags, --skip-tags ) 
from a variable inside a task?

Is it maybe possible to access the invoked command itself from variable?

Is it possible to use patterns 
(http://docs.ansible.com/intro_patterns.html) with tags? 
Something like --tags=config,&reload would be very helpful.

------ Example

Given i have:

- task A with tags: [ config ] 
- task B with tags: [ config, reload ] 
- task C with tags: [ service, reload ]

---- Problem

I'd like to skip task B if --tags does not contain 'config' AND 'reload'.

Thanks in advance.






-- 
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/5c9e5307-59b7-4b30-b366-3b279cecdd4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to