evocheck: package install + dependency clarification

This commit is contained in:
Jérémy Lecour 2016-12-19 13:57:41 +01:00 committed by Jérémy Lecour
parent c64e89e0d1
commit e382a15919
3 changed files with 7 additions and 7 deletions

View file

@ -2,6 +2,9 @@
Install a script to verify compliance of a Debian/OpenBSD server
The "evocheck" Debian package is available at `pub.evolix.net`.
Make you have `deb http://pub.evolix.net/ jessie/` in your sources list.
## Tasks
Everything is in the `tasks/main.yml` file.

View file

@ -1,3 +1,2 @@
---
dependencies:
- { role: evolinux-sources-list }
dependencies: []

View file

@ -1,8 +1,6 @@
---
- name: evocheck is installed
command: "apt-get install -yq --allow-unauthenticated evomaintenance"
register: installed_evomaintenance
changed_when: not (installed_evomaintenance.stdout | search("0 upgraded") and installed_evomaintenance.stdout | search("0 newly installed"))
# TODO make sure that the package is in the right version
command: "apt-get install -yq --allow-unauthenticated evocheck"
register: installed_evocheck
changed_when: not (installed_evocheck.stdout | search("0 upgraded") and installed_evocheck.stdout | search("0 newly installed"))