{% extends "base.html" %} {% block title %}{{ lang.menu_links.ha.title }} {% endblock %} {% block h2 %}{{ lang.menu_links.ha.title }} {% endblock %} {% block content %} {% from 'include/input_macros.html' import input, checkbox %} {% if user_status == 0 or user_plan == 'user' %} {% include 'include/no_sub.html' %} {% elif not is_needed_tool %}

You have not installed Ansible

. There is no server

Read here how to install Ansible.

{% else %}

{{lang.words.create|title()}} {{lang.words.w_a}} {{lang.words.new}} HA {{lang.words.cluster}}

{{lang.words.current2|title()}} {{lang.words.installation}} {{lang.words.current2|title()}} {{lang.words.current2|title()}} {{lang.words.installation}} {{lang.words.slave|title()}} {{lang.words.master|title()}} {{lang.words.interface|title()}} {{lang.words.slave|title()}} {{lang.words.interface|title()}} VRRP IP
{{ input('interface', size='7', title=lang.phrases.int_vrrp) }} {{ input('slave_interface', size='7', title=lang.phrases.int_vrrp) }} {{ input('vrrp-ip', size='14') }}
{{lang.words.add|title()}} VIRT {{lang.words.stay|title()}} {{lang.words.as}} {{lang.words.master|title()}} SYN-flood {{lang.words.protection}} HAProxy NGINX
{{ checkbox('virt_server', title='Roxy-WI will add VRRP address as a separated server', checked='checked') }} {{ checkbox('return_to_master', title='If checked, the Keepalived master will not release VRRP if the service is down') }} {{ checkbox('syn_flood') }} {{ checkbox('hap', title='Roxy-WI will try to install HAProxy') }} {{ checkbox('nginx', title='Roxy-WI will try to install NGINX') }}

{{lang.words.add|title()}} VRRP {{lang.words.to}} {{lang.words.an}} {{lang.words.existing2}} {{lang.words.cluster}}

{{lang.words.current2|title()}} {{lang.words.installation}} {{lang.words.master|title()}} {{lang.words.current2|title()}} {{lang.words.installation}} {{lang.words.slave|title()}} {{lang.words.master|title()}} {{lang.words.interface|title()}} {{lang.words.slave|title()}} {{lang.words.interface|title()}} VRRP IP
{{ input('interface-add', size='7', title=lang.phrases.int_vrrp) }} {{ input('slave_interface-add', size='7', title=lang.phrases.int_vrrp) }} {{ input('vrrp-ip-add', size='14') }}
{{lang.words.restart|title()}} {{lang.words.return|title()}} {{lang.words.to}} {{lang.words.master|title()}} state
{{ checkbox('kp', title='If checked Roxy-WI will restart Keepalived') }} {{ checkbox('add_return_to_master', checked='checked') }}
{{lang.words.read|title()}} {{lang.phrases.howto_ha}}
{% endif %} {% endblock %}