diff options
| author | Konstantin Yarovoy <konstantin.yarovoy@tietoevry.com> | 2022-04-07 13:16:15 +0200 |
|---|---|---|
| committer | Roman Krcek <roman.krcek@tietoevry.com> | 2025-03-19 17:20:04 +0000 |
| commit | f726cfd9982bf6a5250859f3ecfcacf018159b99 (patch) | |
| tree | bd0a4c62f63935e18b96e4610f684f6deeed4caa /ansible/migrate-container-engine.yml | |
| parent | 12aa03929a30dc9d10b12a64551623d9fd998a2f (diff) | |
| download | kolla-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 'ansible/migrate-container-engine.yml')
| -rw-r--r-- | ansible/migrate-container-engine.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ansible/migrate-container-engine.yml b/ansible/migrate-container-engine.yml new file mode 100644 index 000000000..4a3ccb55e --- /dev/null +++ b/ansible/migrate-container-engine.yml @@ -0,0 +1,21 @@ +--- +- import_playbook: gather-facts.yml + vars: + kolla_action: migrate-container-engine + +- name: Prepare the Openstack migration + hosts: baremetal + gather_facts: false + roles: + - role: container-engine-migration + +- name: Migrate the Openstack + vars: + kolla_action: deploy + migration_flag: + import_playbook: site.yml + tags: redeploy + +- name: Verify the migration + import_playbook: post-deploy.yml + tags: post |
