diff options
Diffstat (limited to 'deploy')
-rwxr-xr-x | deploy/adapters/ansible/roles/config-osa/tasks/main.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml index 05034001..e6794926 100755 --- a/deploy/adapters/ansible/roles/config-osa/tasks/main.yml +++ b/deploy/adapters/ansible/roles/config-osa/tasks/main.yml @@ -434,3 +434,9 @@ dest: /etc/ansible/roles/os_nova/templates/nova.conf.j2 regexp: '^vif_plugging_timeout' line: 'vif_plugging_timeout = 30' + +- name: fix keepalived + lineinfile: + dest: /opt/openstack-ansible/inventory/group_vars/haproxy/keepalived.yml + regexp: 'check_script: "/bin/kill -0 `cat /var/run/haproxy.pid`"' + line: ' check_script: "/bin/kill -0 `cat /var/run/haproxy.pid` || true"' |