Added distro vars. Changed dnf to yum modules.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
### Distro vars
|
||||
klnagent_distro_local:
|
||||
kesl_distro_local:
|
||||
klnagent_distro_remote:
|
||||
kesl_distro_remote:
|
||||
kesl_version: "11.4"
|
||||
|
||||
### KLNAGENT vars as defined at https://support.kaspersky.com/KSC/14.2/ru-RU/199693.htm
|
||||
KLNAGENT_SERVER: "" #* Input KSC to connect
|
||||
KLNAGENT_AUTOINSTALL: "1" #*
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
- name: Debian delete pkgs
|
||||
block:
|
||||
- name: "Remove previous agent installations"
|
||||
- name: "Remove previous klnagent installations"
|
||||
apt:
|
||||
name: klnagent64
|
||||
state: absent
|
||||
@@ -14,12 +14,12 @@
|
||||
- name: RHEL delete pkgs
|
||||
block:
|
||||
- name: "Remove previous agent installations"
|
||||
dnf:
|
||||
yum:
|
||||
name: klnagent64
|
||||
state: absent
|
||||
|
||||
- name: "Remove previous kesl installations"
|
||||
dnf:
|
||||
yum:
|
||||
name: kesl
|
||||
state: absent
|
||||
when: ansible_facts['os_family'] == 'RED' or ansible_facts['os_family'] == 'RedHat'
|
||||
|
||||
Reference in New Issue
Block a user