diff --git a/tests/pre.yml b/tests/pre.yml index a88ef04..1af28e8 100644 --- a/tests/pre.yml +++ b/tests/pre.yml @@ -19,6 +19,13 @@ - "logs" - "logs/containers" + - name: "iptables: don't jump straight to openstack-INPUT" + become: true + iptables: + chain: "INPUT" + jump: "openstack-INPUT" + state: absent + - include: pre_rhel.yml when: ansible_os_family == 'RedHat' diff --git a/tests/templates/playbook.j2 b/tests/templates/playbook.j2 index 1e7afc3..07ce3be 100644 --- a/tests/templates/playbook.j2 +++ b/tests/templates/playbook.j2 @@ -18,6 +18,15 @@ playbook_debug: false tasks: + - name: Call netchecker + shell: + cmd: | + set -eux + curl http://localhost:31081/api/v1/connectivity_check + executable: /bin/bash + register: netchecker + ignore_errors: yes + - include: "{% raw %}{{ item }}{% endraw %}" with_first_found: - files: