forked from evolix/ansible-roles
9 lines
346 B
YAML
9 lines
346 B
YAML
---
|
|
|
|
- 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
|