remove assert for database and add assert for api

This commit is contained in:
Nicolas Roman 2019-04-25 10:40:09 +02:00 committed by Jérémy Lecour
parent b0e9dfd109
commit 46033ec8ce
1 changed files with 3 additions and 5 deletions

View File

@ -5,11 +5,9 @@
- assert:
that:
- evomaintenance_pg_passwd is not none
- evomaintenance_pg_db is not none
- evomaintenance_pg_table is not none
- evomaintenance_pg_host is not none
msg: evomaintenance database variables must be set
- evomaintenance_api_endpoint != "https://example.com/api/"
- evomaintenance_api_key != "secretkey"
msg: evomaintenance api variables must be set
- include: install_package_debian.yml
when: