From d8a6563bea72fbc8a05299e1785d44b0cd5cf9cc Mon Sep 17 00:00:00 2001 From: Klaus Zerwes Date: Wed, 1 May 2024 22:41:06 +0200 Subject: [PATCH] issue #65 - reconfigure order : laggs -> vlans -> interfaces --- tasks/main.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 55f73d6..fd8186d 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -107,15 +107,15 @@ tags: - always -- name: interfaces +- name: laggs tags: - always ansible.builtin.include_tasks: - file: interfaces.yml + file: laggs.yml apply: tags: - - interfaces - - interface + - laggs + - lagg - name: vlans tags: @@ -128,6 +128,16 @@ - vlan when: opn_interfaces_vlan_parent_interface is defined +- name: interfaces + tags: + - always + ansible.builtin.include_tasks: + file: interfaces.yml + apply: + tags: + - interfaces + - interface + - name: bridges tags: - always @@ -234,16 +244,6 @@ apply: tags: nat -- name: laggs - tags: - - always - ansible.builtin.include_tasks: - file: laggs.yml - apply: - tags: - - laggs - - lagg - - name: haproxy tags: - always