From daf389804c1ae0a3661b5617a74905a1496c2ae7 Mon Sep 17 00:00:00 2001 From: ace Date: Mon, 25 Oct 2021 15:54:01 +0300 Subject: [PATCH] fix --- tasks/RedHat/7.yaml | 14 +++++++------- tasks/RedHat/8.yaml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/tasks/RedHat/7.yaml b/tasks/RedHat/7.yaml index a8dd4e6..a559ed2 100644 --- a/tasks/RedHat/7.yaml +++ b/tasks/RedHat/7.yaml @@ -4,13 +4,6 @@ name: bird2 state: present -- name: Add BIRD config - template: - src: bird.conf.j2 - dest: /etc/bird.conf - notify: - - Reload bird - - name: Update ifcfg-lo config template: src: ifcfg-lo.j2 @@ -18,6 +11,13 @@ notify: - Restart loopback +- name: Add BIRD config + template: + src: bird.conf.j2 + dest: /etc/bird.conf + notify: + - Reload bird + - name: Start BIRD service systemd: name: bird diff --git a/tasks/RedHat/8.yaml b/tasks/RedHat/8.yaml index a900a55..e1b1321 100644 --- a/tasks/RedHat/8.yaml +++ b/tasks/RedHat/8.yaml @@ -9,13 +9,6 @@ name: bird state: present -- name: Add BIRD config - template: - src: bird.conf.j2 - dest: /etc/bird.conf - notify: - - Reload BIRD - - name: Update ifcfg-lo config template: src: ifcfg-lo.j2 @@ -42,6 +35,13 @@ # {% endfor %} # ] +- name: Add BIRD config + template: + src: bird.conf.j2 + dest: /etc/bird.conf + notify: + - Reload BIRD + - name: Start BIRD service systemd: name: bird