Enable resource agents for the dynamic inventory-dependent setup

This now achieves feature parity with the legacy setup. It enables
the resource agents.
This commit is contained in:
Juan Antonio Osorio Robles 2017-11-29 09:03:43 +00:00
parent 88940547e3
commit 8d412a4308
1 changed files with 7 additions and 0 deletions

View File

@ -93,3 +93,10 @@
when: current_vip.ip != '' and type != 'opportunistic'
notify:
- Restart ipsec
- include: resource-agent.yml
when:
- pacemaker_running
- type != 'opportunistic'
- current_vip.ip != ''
- inventory_hostname == groups['pacemaker'][0]