Jesse Pretorius 09cb727198 Cast the resulting intersect set into a list
When using Ansible with python3, the result of
the intersect filter is a set, not a list. This
causes a failure when trying to access item 0
in the list.

In this patch we cast the set to a list before
accessing item 0. This will work for both
python2 and python3.

Change-Id: Ida1b877d41521c284f6c91377ca7ccfc5a6bcecd
2017-07-06 18:15:31 +01:00
..