Fix tests for Debian Stretch

- nagios is not available
- curl can use HTTP2 (headers are lowercase)
- bypass tests when htpasswd is empty (bypass issue #28)
This commit is contained in:
Emilien Mantel
2017-07-27 14:25:22 +02:00
parent 6935404939
commit e83395271d
2 changed files with 61 additions and 44 deletions

View File

@@ -1,11 +1,19 @@
---
- name: APT | Install web apps
apt: pkg={{ item }} state=present install_recommends=no
- name: APT | Install webapps
apt:
pkg: "{{ item }}"
state: present
install_recommends: no
with_items:
- backuppc
- nagios3
# - owncloud
- name: APT | Install nagios3 (only on old Debian releases)
apt:
pkg: nagios3
state: present
when: ansible_distribution_major_version < 9
- name: SERVICE | Ensure backuppc is started
service: name=backuppc state=started