skipping playbook include due to conditional test failure

69 views
Skip to first unread message

Michael Baydoun

unread,
Jan 12, 2016, 3:45:45 PM1/12/16
to Ansible Project
Just upgraded to ansible 2.0 in our sandbox environment
In our site.yml we include a number of playbooks like so

- include: coolapp.yml
  when: groups.coolapp is defined

This allows our code to not fail if the production coolapp server hasn't been built yet.

Now in 2.0, these includes are all being skipped

"skipping playbook include 'coolapp.yml' due to conditional test failure"

Even running with -vvvv doesn't supply any additional information

Obviously we need to change our design for 2.0.  Suggestions?
Reply all
Reply to author
Forward
Message has been deleted
0 new messages