How to disabled the new "included" feature in Ansible V2?

29 views
Skip to first unread message

Sjors Buitenhuis

unread,
Nov 15, 2015, 7:24:49 AM11/15/15
to Ansible Project
Since I've switched to Ansible V2 the default behavior is to show every file in the playbook whether I'm skipping them or not. Clarification

TASK [logging : include] *******************************************************
included: /path-to-play.yml for xx.xxx.xxx.xx

In my playbook I have plenty of roles and in each role I have modularly build up different tasks for different purposes and I have tagged them all. When I run my playbook it's always with tags. Example of a role: https://gist.github.com/hyperfocus1337/6322e4cece84595212f4

Since I have a rather large playbook it's taking a very long time to complete my playbook when I'm running just a simple tag. So far switching to V2 hasn't really benefitted my use case. I've also tried pipelining which appears to be a little faster but it's still a lot slower then 1.9 when just running a few tags.

Is there a way to disable or hide this behavior to make the playbook run faster?
Reply all
Reply to author
Forward
0 new messages