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