Add VIP configuration to computes as well

Accidentally, the VIP configuration would only be added for the controllers,
which have pacemaker running. This shouldn't be the case, as the computes
need the tunnels as well.
This commit is contained in:
Juan Antonio Osorio Robles 2017-11-29 09:02:59 +00:00
parent d88d758f81
commit 88940547e3
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@
src: ipsec-vip-tunnels.secrets.j2
dest: /etc/ipsec.d/overcloud-{{ current_vip.name }}-vip-tunnels.secrets
mode: '0600'
when: current_vip.ip != '' and pacemaker_running and type != 'opportunistic'
when: current_vip.ip != '' and type != 'opportunistic'
notify:
- Restart ipsec
@ -90,6 +90,6 @@
src: ipsec-vip-tunnels.conf.j2
dest: /etc/ipsec.d/overcloud-{{ current_vip.name }}-vip-tunnels.conf
mode: '0640'
when: current_vip.ip != '' and pacemaker_running and type != 'opportunistic'
when: current_vip.ip != '' and type != 'opportunistic'
notify:
- Restart ipsec