Fix configure hang. Added status.
This commit is contained in:
@@ -46,8 +46,6 @@
|
|||||||
- name: "Run configuring kesl"
|
- name: "Run configuring kesl"
|
||||||
become: true
|
become: true
|
||||||
shell: "/opt/kaspersky/kesl/bin/kesl-setup.pl --autoinstall=/tmp/kesl.ini"
|
shell: "/opt/kaspersky/kesl/bin/kesl-setup.pl --autoinstall=/tmp/kesl.ini"
|
||||||
args:
|
|
||||||
executable: /bin/bash
|
|
||||||
notify: restart kesl
|
notify: restart kesl
|
||||||
|
|
||||||
- name: "Ensure kesl service is enabled"
|
- name: "Ensure kesl service is enabled"
|
||||||
@@ -56,3 +54,11 @@
|
|||||||
name: kesl
|
name: kesl
|
||||||
enabled: yes
|
enabled: yes
|
||||||
state: started
|
state: started
|
||||||
|
|
||||||
|
- name: "Kesl check status"
|
||||||
|
shell: "/opt/kaspersky/kesl/bin/kesl-control -S --app-info"
|
||||||
|
register: Kesl_status
|
||||||
|
|
||||||
|
- name: print KESL Status
|
||||||
|
ansible.builtin.debug:
|
||||||
|
var: Kesl_status
|
||||||
Reference in New Issue
Block a user