summaryrefslogtreecommitdiff
path: root/roles/uvok_bird/handlers/main.yml
blob: 33814c5f305a4d6e4983c6254ac0e38a302e0e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# handlers file for uvok_bird

- name: Check config
  command: birdc configure check
  listen: configure bird
  changed_when: false
  register: bird_check_result
- name: Apply bird config
  command: birdc configure soft
  listen: configure bird
  changed_when: true
  when: bird_check_result.rc == 0