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 vars as defined at https://support.kaspersky.com/KSC/14.2/ru-RU/199693.htm
|
||||||
KLNAGENT_SERVER: "" #* Input KSC to connect
|
KLNAGENT_SERVER: "" #* Input KSC to connect
|
||||||
KLNAGENT_AUTOINSTALL: "1" #*
|
KLNAGENT_AUTOINSTALL: "1" #*
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
- name: Debian delete pkgs
|
- name: Debian delete pkgs
|
||||||
block:
|
block:
|
||||||
- name: "Remove previous agent installations"
|
- name: "Remove previous klnagent installations"
|
||||||
apt:
|
apt:
|
||||||
name: klnagent64
|
name: klnagent64
|
||||||
state: absent
|
state: absent
|
||||||
@@ -14,12 +14,12 @@
|
|||||||
- name: RHEL delete pkgs
|
- name: RHEL delete pkgs
|
||||||
block:
|
block:
|
||||||
- name: "Remove previous agent installations"
|
- name: "Remove previous agent installations"
|
||||||
dnf:
|
yum:
|
||||||
name: klnagent64
|
name: klnagent64
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: "Remove previous kesl installations"
|
- name: "Remove previous kesl installations"
|
||||||
dnf:
|
yum:
|
||||||
name: kesl
|
name: kesl
|
||||||
state: absent
|
state: absent
|
||||||
when: ansible_facts['os_family'] == 'RED' or ansible_facts['os_family'] == 'RedHat'
|
when: ansible_facts['os_family'] == 'RED' or ansible_facts['os_family'] == 'RedHat'
|
||||||
|
|||||||
Reference in New Issue
Block a user