evocheck: package install is not supported anymore

This commit is contained in:
Jérémy Lecour 2021-10-25 10:08:40 +02:00 committed by Jérémy Lecour
parent dd53c01027
commit 646a7b1813
8 changed files with 8 additions and 15 deletions

View File

@ -31,6 +31,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Removed
* evocheck: package install is not supported anymore
### Security
## [21.09] 2021-09-29

View File

@ -16,6 +16,4 @@ A separate `exec.yml` file can be imported manually in playbooks or roles to exe
## Variables
We can force install via :
* `evocheck_force_install: local` : will copy the script provided by the role
* `evocheck_force_install: package` : will install the package via repositories
* `evocheck_update_crontab` : will update the crontab (default: `True`)

View File

@ -1,4 +1,4 @@
---
evocheck_force_install: False
evocheck_update_crontab: True
evocheck_bin_dir: /usr/share/scripts

View File

@ -1,5 +0,0 @@
---
- name: install evocheck from package
apt:
name: evocheck
state: present

View File

@ -1,10 +1,11 @@
---
- include: install_local.yml
when: evocheck_force_install == "local"
- include: install_package.yml
- name: Package install is not supported anymore
fail:
msg: Package install is not supported anymore
when: evocheck_force_install == "package"
- include: install.yml
- include: cron.yml
when: evocheck_update_crontab | bool

View File

@ -208,7 +208,6 @@ evolinux_fail2ban_include: False
# Evocheck
evolinux_evocheck_include: True
evolinux_evocheck_force_install: "local"
# Listupgrade

View File

@ -118,8 +118,6 @@
- name: Evocheck
include_role:
name: evolix/evocheck
vars:
evocheck_force_install: "{{ evolinux_evocheck_force_install }}"
when: evolinux_evocheck_include | bool
- name: Listupgrade