From 059e9a9c7d134d2840ba7773b142e97f4b68b65d Mon Sep 17 00:00:00 2001 From: ace Date: Mon, 25 Oct 2021 15:30:39 +0300 Subject: [PATCH] fix --- handlers/main.yml | 2 +- tasks/RedHat/8.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/handlers/main.yml b/handlers/main.yml index 5cb6133..f9f7235 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -16,4 +16,4 @@ ifdown lo ; ifup lo - name: Reload dummy interface - command: nmcli conn up lo0 + command: nmcli conn up {{ dummy_iface | default('dummy0') }} diff --git a/tasks/RedHat/8.yaml b/tasks/RedHat/8.yaml index fe32348..e74600f 100644 --- a/tasks/RedHat/8.yaml +++ b/tasks/RedHat/8.yaml @@ -9,16 +9,16 @@ src: bird.conf.j2 dest: /etc/bird.conf notify: - - reload bird + - Reload bird - name: Add dummy interface and add IPs community.general.nmcli: type: dummy - conn_name: 'lo0' + conn_name: "{{ dummy_iface | default('dummy0') }}" ip4: '{{ item.ip4 }}' state: present notify: - - reload dummy interface + - Reload dummy interface loop: | [ {% for protocol_static in bird.bgp.static %}