Pavel Loginov 2022-01-19 11:58:04 +03:00
parent d1dde559a3
commit 23fd8eb66d
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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');