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 ### Removed
* evocheck: package install is not supported anymore
### Security ### Security
## [21.09] 2021-09-29 ## [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 ## Variables
We can force install via : 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`) * `evocheck_update_crontab` : will update the crontab (default: `True`)

View file

@ -1,4 +1,4 @@
--- ---
evocheck_force_install: False
evocheck_update_crontab: True evocheck_update_crontab: True
evocheck_bin_dir: /usr/share/scripts 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 - name: Package install is not supported anymore
when: evocheck_force_install == "local" fail:
msg: Package install is not supported anymore
- include: install_package.yml
when: evocheck_force_install == "package" when: evocheck_force_install == "package"
- include: install.yml
- include: cron.yml - include: cron.yml
when: evocheck_update_crontab | bool when: evocheck_update_crontab | bool

View file

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

View file

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