mirror of https://github.com/Aidaho12/haproxy-wi
parent
d1dde559a3
commit
23fd8eb66d
|
@ -16,6 +16,7 @@
|
|||
|
||||
- name: Install docker
|
||||
hosts: "{{ variable_host }}"
|
||||
become: yes
|
||||
gather_facts: yes
|
||||
roles:
|
||||
- role: docker
|
||||
|
|
|
@ -307,7 +307,7 @@ $( function() {
|
|||
type: "POST",
|
||||
success: function( data ) {
|
||||
data = data.replace(/^\s+|\s+$/g,'');
|
||||
if(data.indexOf('bash') != '-1') {
|
||||
if(data.indexOf('bash') != '-1' || data.indexOf('such') != '-1') {
|
||||
$('#cur_nginx_ver').text('Nginx has not installed');
|
||||
$('#nginx_install').text('Install');
|
||||
$('#nginx_install').attr('title', 'Install Nginx');
|
||||
|
|
Loading…
Reference in New Issue