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