On Wednesday, July 9, 2014 1:49:16 PM UTC-6, Michael DeHaan wrote:
>
> Correct.
>
> Tags in playbooks apply tags to tasks.
>
> --tags means "run the things that are so tagged"
> --skip-tags means the opposite
>

darn.  May I suggest some clarification for the documentation then? The way 
it is written currently allows for "free interpretation" which obviously 
mislead me.

Now the other question: would it be reasonable to ask for such feature 
then? I can see a lots of uses for it (both for using only tagX from roleA 
and skipping all tagY from roleB scenarios) also I can see how I can unify 
all tasks in fewer files and not have to resort to tricks like:

roles/
 httpd/
  install/
   tasks/
  setup/
   tasks/

with subsequent:

roles:
- role: httpd/install
- role: httpd/setup

that I've done on advise from this list to separate my install from my 
setup yet I'd like to share a thing or two between those... having it done 
via tags would seem more natural to me.

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b2d74d00-f73f-42c9-be26-72ecd8a7c2ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to