Browse Source

check if bird reload was successful

main
n0emis 2 years ago
parent
commit
ddb126248f
Signed by: n0emis GPG Key ID: 00FAF748B777CF10
  1. 6
      handlers/main.yml

6
handlers/main.yml

@ -1,8 +1,8 @@
---
- name: reload bird
service:
name: "bird"
state: reloaded
command: "birdc configure"
register: _birdc_reload
failed_when: "'Reconfigur' not in _birdc_reload.stdout"
- name: restart networking
service:

Loading…
Cancel
Save