zabbix_host: fix integration tests only working individually (#33630)

* remove mod_evasive which is potentially installed by apache2_module
integration test and add zabbix_host to CI
This commit is contained in:
Eike Frost 2017-12-07 17:32:28 +01:00 committed by Matt Clay
parent a7e49cde3b
commit 31e3b8197f
3 changed files with 28 additions and 2 deletions

View file

@ -0,0 +1,20 @@
# This file is part of Ansible
#
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
- name: uninstall libapache2-mod-evasive via apt
apt:
name: libapache2-mod-evasive
state: absent
when: "ansible_os_family == 'Debian'"

View file

@ -1,6 +1,11 @@
--- ---
- name: include only on supported systems - name:
block:
- name: include only on supported systems
include: actualtest.yml include: actualtest.yml
always:
- name: cleanup installed modules
include: cleanup.yml
when: ansible_os_family in ['Debian', 'Suse'] when: ansible_os_family in ['Debian', 'Suse']
# centos/RHEL does not have a2enmod/a2dismod # centos/RHEL does not have a2enmod/a2dismod

View file

@ -1,4 +1,5 @@
destructive destructive
posix/ci/group1
skip/osx skip/osx
skip/freebsd skip/freebsd
skip/rhel skip/rhel