evocheck: package install is not supported anymore

pull/136/head
Jérémy Lecour 1 year ago committed by Jérémy Lecour
parent dd53c01027
commit 646a7b1813
  1. 2
      CHANGELOG.md
  2. 2
      evocheck/README.md
  3. 2
      evocheck/defaults/main.yml
  4. 0
      evocheck/tasks/install.yml
  5. 5
      evocheck/tasks/install_package.yml
  6. 9
      evocheck/tasks/main.yml
  7. 1
      evolinux-base/defaults/main.yml
  8. 2
      evolinux-base/tasks/main.yml

@ -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

@ -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`)

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

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

@ -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

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

@ -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

Loading…
Cancel
Save