aboutsummaryrefslogtreecommitdiff
path: root/tests/post.yml
diff options
context:
space:
mode:
authorKonstantin Yarovoy <konstantin.yarovoy@tietoevry.com>2022-04-07 13:16:15 +0200
committerRoman Krcek <roman.krcek@tietoevry.com>2025-03-19 17:20:04 +0000
commitf726cfd9982bf6a5250859f3ecfcacf018159b99 (patch)
treebd0a4c62f63935e18b96e4610f684f6deeed4caa /tests/post.yml
parent12aa03929a30dc9d10b12a64551623d9fd998a2f (diff)
downloadkolla-ansible-f726cfd9982bf6a5250859f3ecfcacf018159b99.tar.gz
kolla-ansible-f726cfd9982bf6a5250859f3ecfcacf018159b99.zip
Add container engine migration scenario
Add "migrate-container-engine" action to kolla-ansible which changes the container engine on which the Openstack is deployed on. For example Docker to Podman and vice versa. Depends-on: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/925083 Signed-off-by: Konstantin Yarovoy <konstantin.yarovoy@tietoevry.com> Signed-off-by: Martin Hiner <m.hiner@partner.samsung.com> Signed-off-by: Roman KrĨek <roman.krcek@tietoevry.com> Change-Id: Icd709cb042d44e063c5da64ab0695b0b6ba6d48b
Diffstat (limited to 'tests/post.yml')
-rw-r--r--tests/post.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/post.yml b/tests/post.yml
index abcfc3e74..653fc410e 100644
--- a/tests/post.yml
+++ b/tests/post.yml
@@ -3,6 +3,13 @@
vars:
logs_dir: "/tmp/logs"
tasks:
+ # TODO(mhiner): Currently only Docker to Podman migration is tested.
+ # If we want to test the other direction we have to rework this.
+ - name: Change container engine after the migration
+ set_fact:
+ container_engine: "podman"
+ when: scenario == "container-engine-migration"
+
- name: Print all facts
copy:
content: "{{ hostvars[inventory_hostname] | to_nice_json }}"