From 9c2af697eafdab0040b3c51a14170f70590ea1ba Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 22 Feb 2022 14:07:32 +0000 Subject: [PATCH] Add variable to bootstrap role to describe the test job action This can be 'deploy', 'upgrade' or other actions passed via the ACTION environment variable. Change-Id: Ic769c0a0e9d79429cdeb1c4d20a6957f57a765a5 --- tests/roles/bootstrap-host/defaults/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/roles/bootstrap-host/defaults/main.yml b/tests/roles/bootstrap-host/defaults/main.yml index 36679b9298..a73169be36 100644 --- a/tests/roles/bootstrap-host/defaults/main.yml +++ b/tests/roles/bootstrap-host/defaults/main.yml @@ -17,6 +17,9 @@ # Scenario used to bootstrap the host bootstrap_host_scenario: "{{ lookup('env','SCENARIO') | default('aio_lxc', true) }}" # +# Action used (deploy, upgrade, ...) +bootstrap_host_action: "{{ lookup('env', 'ACTION') | default('deploy', true) }}" +# # Boolean option to implement OpenStack-Ansible configuration for an AIO # Switch to no for a multi-node configuration bootstrap_host_aio_config: yes