Hi Kai,

On Thu, Nov 29, 2018 at 06:41:03AM +0000, Andy Smith wrote:
> On Thu, Nov 29, 2018 at 07:17:06AM +0100, Kai Stian Olstad wrote:
> > Since you are setting the tag on the role in the play, you don't need to tag
> > it here again.
> 
> If I leave out the "tags=some_server" and then do:
> 
> $ ansible-playbook --tags some_server
> 
> none of the imported tasks are executed (or maybe not even
> imported).

I'm sorry, you are correct. I just realised that I used the wrong
inventory file, and this gave different behaviour which confused me.

Apologies!
Andy

-- 
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/20181129064703.GB4569%40bitfolk.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to