Skip to content

Commit c8c7e39

Browse files
authored
Merge pull request #143 from stackhpc/image-tag
Pull ceph images with tag after docker login
2 parents f8cfa15 + 3922ad0 commit c8c7e39

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

roles/cephadm/tasks/prereqs.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,22 @@
3232
- cephadm_registry_username | length > 0
3333
- cephadm_container_engine == 'docker'
3434
become: true
35+
36+
- name: Pull ceph image with Podman
37+
containers.podman.podman_image:
38+
name: "{{ cephadm_image }}"
39+
state: present
40+
when:
41+
- cephadm_image | length > 0
42+
- cephadm_container_engine == 'podman'
43+
become: true
44+
45+
- name: Pull ceph image with Docker
46+
community.docker.docker_image:
47+
source: pull
48+
name: "{{ cephadm_image }}"
49+
state: present
50+
when:
51+
- cephadm_image | length > 0
52+
- cephadm_container_engine == 'docker'
53+
become: true

0 commit comments

Comments
 (0)