From 10346279c05d23e2a50491f63dd803b414bbc71a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Evrard Date: Wed, 29 Nov 2017 16:05:39 +0000 Subject: [PATCH] Do not apply varstest to all scenarios These variables only needs to be created for the varstest scenario, not for any other scenario. Change-Id: I9c8ce7c4a225853f8dda20de98842535e6742123 --- tests/roles/bootstrap-host/tasks/prepare_aio_config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml b/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml index 85f7c05c76..9e54e67295 100644 --- a/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml +++ b/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml @@ -209,6 +209,7 @@ line: 'security_package_state: "present"' - path: /etc/openstack_deploy/host_vars/localhost.yml line: 'tintin: "milou"' + when: "(lookup('env','ACTION') | default(false,true)) == 'varstest'" - name: Discover the pypi mirror URL when in nodepool shell: |