bennojoy / network_interface

role for system network configuration
71 stars 86 forks source link

FAILED! subelements lookup expects a dictionary, got 'network_bridge_interfaces' #28

Open thom-nic opened 7 years ago

thom-nic commented 7 years ago
TASK [bennojoy.network_interface : Create the network configuration file for port on the bridge devices] ***
fatal: [vsdemo6]: FAILED! => {"failed": true, "msg": "subelements lookup expects a dictionary, got 'network_bridge_interfaces'"}

Using Ansible v2.2.0. This role has worked fine in the past so I suspect this is a breaking change in a recent ansible version.

thom-nic commented 7 years ago

Referring to subelements documentation it appears the correct form should be:

with_subelements:
  - "{{ network_bridge_interfaces }}"
  - ports