update role - fix loopback for el8

This commit is contained in:
ace
2021-10-25 15:26:23 +03:00
parent 5de53a9171
commit 7a2bb34f17
3 changed files with 33 additions and 19 deletions

View File

@ -1,14 +1,19 @@
---
- name: restart bird
- name: Restart BIRD
systemd:
name: bird
state: restarted
daemon_reload: yes
- name: restart loopback
- name: Reload BIRD
systemd:
name: bird
state: restarted
daemon_reload: yes
- name: Restart loopback
shell: |
ifdown lo ; ifup lo
- name: reload dummy interface
- name: Reload dummy interface
command: nmcli conn up lo0