dresden-weekly / ansible-network-interfaces

Ansible roles to manage Ubuntu network interface configuration
MIT License
86 stars 62 forks source link

[DEPRECATION WARNING] : The use of 'include' for tasks has been deprecated. #64

Open freitux opened 6 years ago

freitux commented 6 years ago

change tasks/main.yml line 26 from - include: all_interfaces.yml to

    25
    26  - include_tasks: all_interfaces.yml
    27    when: network_interfaces
    28

and

line 40 from - include: manage_devices.yml to

    39
    40  - include_tasks: manage_devices.yml
    41    when:
    42    - network_manage_devices
    43    - network_interfaces
arBmind commented 6 years ago

@freitux thank you for the input. Unfortunately I did not have the time to upgrade to Ansible 2.4 yet.

I will integrate your proposed changes soon. Hopefully before include is removed.