stuvusIT / network_management

Configure Debian/Ubuntu networking service (/etc/network/interfaces) with Ansible
Creative Commons Attribution Share Alike 4.0 International
2 stars 0 forks source link

CIDR appending task fails #27

Closed SlothOfAnarchy closed 6 years ago

SlothOfAnarchy commented 6 years ago

Error message:

MSG:

The task includes an option with an undefined variable. The error was: 'unicode object' has no attribute 'ips'

The error appears to have been in '/home/michel/stuvus_config/roles/network_management/tasks/interfaces.yml': line 36, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Append default CIDR if not already specified (interfaces)
  ^ here

exception type: <class 'ansible.errors.AnsibleUndefinedVariable'>
exception: 'unicode object' has no attribute 'ips'

Host vars

interfaces:
  - mac: AA:AA:AA:AA:BB:CC
    ip: 129.69.139.21
  - mac: AA:AA:AA:AA:CC:BB
    bridge: int_vpn
    type: manual
Mr-Pi commented 6 years ago

Seems to be a problem with internal bridges(by brctl).

Scriptkiddi commented 6 years ago

Problem ist dass eth1 und br0 die selbe mac haben