From 5791c510d5147d4501b471b0016d322b22b0b23f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Fri, 15 Jun 2018 13:06:51 +0200 Subject: [PATCH] Allow a bypass of operating system Without this patch, it is impossible to deploy an OpenStack-Ansible cloud on an unsupported operating system. This is a problem, as an experienced developer cannot bypass this check when working on an experimental OS. This patch solves the problem by creating a variable to determine if tests should run, and run the OS test by default. Change-Id: Icf70f32826cd096ec65309aff47ca5d5c01f57cc --- tests/roles/bootstrap-host/tasks/check-requirements.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/roles/bootstrap-host/tasks/check-requirements.yml b/tests/roles/bootstrap-host/tasks/check-requirements.yml index 99afb5e388..e920cf5bb9 100644 --- a/tests/roles/bootstrap-host/tasks/check-requirements.yml +++ b/tests/roles/bootstrap-host/tasks/check-requirements.yml @@ -20,6 +20,7 @@ (ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7') or (ansible_os_family == 'Suse' and ansible_distribution_major_version == '42') msg: "The only supported platforms for this release are Ubuntu 16.04 LTS (Xenial), CentOS 7 (WIP) and openSUSE Leap 42.X (WIP)" + when: (check_operating_system | default(True))| bool tags: - check-operating-system