-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Try to import images from the image cache (#1921)
Signed-off-by: Christian Berendt <[email protected]>
- Loading branch information
Showing
3 changed files
with
57 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
- name: Preload stable ceph & openstack images | ||
hosts: testbed-nodes | ||
gather_facts: false | ||
|
||
vars: | ||
images_ceph: | ||
- ceph-daemon:17.2.6 | ||
|
||
images_openstack: | ||
- keystone:22.0.1.20230902 # 5.3.0 | ||
- keystone:23.0.1.20230919 # 6.0.2 | ||
|
||
tasks: | ||
- name: Import stable ceph images | ||
ansible.builtin.command: | ||
cmd: "skopeo copy dir:/home/dragon/images/{{ item }} docker-daemon:osism.harbor.regio.digital/osism/{{ item }}" | ||
loop: "{{ images_ceph }}" | ||
|
||
- name: Import stable openstack images | ||
ansible.builtin.command: | ||
cmd: "skopeo copy dir:/home/dragon/images/{{ item }} docker-daemon:osism.harbor.regio.digital/kolla/release/{{ item }}" | ||
loop: "{{ images_openstack }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters