--- - name: install bird package: name: bird2 state: present - name: add bird config template: src: bird.conf.j2 dest: /etc/bird.conf notify: - restart bird - name: update ifcfg-lo config template: src: ifcfg-lo.j2 dest: /etc/sysconfig/network-scripts/ifcfg-lo notify: - restart loopback - name: start bird service systemd: name: bird state: started enabled: yes daemon_reload: yes