From f0423b18045c106a8750590dc96947cdd6164b7d Mon Sep 17 00:00:00 2001 From: Giulio Fidente Date: Tue, 22 Aug 2017 13:03:55 +0200 Subject: [PATCH] Parse ceph_docker_registry in switch to containers Defaults it to docker.io as it was for backward compatibility. --- ...n-containerized-to-containerized-ceph-daemons.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml index 0c61c671c..415519d1f 100644 --- a/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml +++ b/infrastructure-playbooks/switch-from-non-containerized-to-containerized-ceph-daemons.yml @@ -145,7 +145,7 @@ - name: start ceph mon container image docker: - image: "{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" + image: "{{ ceph_docker_registry|default('docker.io') }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" name: "ceph-mon-{{ ansible_hostname }}" net: "host" state: "running" @@ -242,7 +242,7 @@ - name: start ceph osd container image(s) docker: - image: "{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" + image: "{{ ceph_docker_registry|default('docker.io') }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" name: "ceph-osd-{{ ansible_hostname }}-dev{{ item | regex_replace('/', '') }}" net: host pid: host @@ -306,7 +306,7 @@ - name: start ceph metadata container image docker: - image: "{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" + image: "{{ ceph_docker_registry|default('docker.io') }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" name: ceph-mds-{{ ansible_hostname }} net: host state: running @@ -357,7 +357,7 @@ - name: start ceph rados gateway container image docker: - image: "{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" + image: "{{ ceph_docker_registry|default('docker.io') }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" name: ceph-rgw-{{ ansible_hostname }} expose: "{{ ceph_rgw_civetweb_port }}" ports: "{{ ceph_rgw_civetweb_port }}:{{ ceph_rgw_civetweb_port }}" @@ -409,7 +409,7 @@ - name: start ceph rbd mirror container image docker: - image: "{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" + image: "{{ ceph_docker_registry|default('docker.io') }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" name: "ceph-rbd-mirror-{{ ansible_hostname }}" net: host state: running @@ -459,7 +459,7 @@ - name: start ceph nfs container image docker: - image: "{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" + image: "{{ ceph_docker_registry|default('docker.io') }}/{{ ceph_docker_image }}:{{ ceph_docker_image_tag }}" name: "ceph-nfs-{{ ansible_hostname }}" net: "host" state: "running"