From 63ff6c6ec9ebbca90ac7304a27c0430dbcecb74f Mon Sep 17 00:00:00 2001 From: Di Xu Date: Mon, 28 May 2018 17:11:20 +0800 Subject: fix syntax error for etcd_docker_image due to ansible upgrade Change-Id: Id3553216d4027ab576968de44a8d242afe341b2c Signed-off-by: Di Xu --- ci/ansible/roles/cleaner/tasks/main.yml | 2 +- ci/ansible/roles/osdsdb/scenarios/container.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ci/ansible/roles') diff --git a/ci/ansible/roles/cleaner/tasks/main.yml b/ci/ansible/roles/cleaner/tasks/main.yml index 0f65d7e..fcfb79b 100644 --- a/ci/ansible/roles/cleaner/tasks/main.yml +++ b/ci/ansible/roles/cleaner/tasks/main.yml @@ -28,7 +28,7 @@ - name: kill etcd containerized service docker: - image: {{ etcd_docker_image }} + image: "{{ etcd_docker_image }}" state: stopped when: db_driver == "etcd" and container_enabled == true diff --git a/ci/ansible/roles/osdsdb/scenarios/container.yml b/ci/ansible/roles/osdsdb/scenarios/container.yml index a5c71d9..d32057d 100644 --- a/ci/ansible/roles/osdsdb/scenarios/container.yml +++ b/ci/ansible/roles/osdsdb/scenarios/container.yml @@ -2,7 +2,7 @@ - name: run etcd containerized service docker: name: myetcd - image: {{ etcd_docker_image }} + image: "{{ etcd_docker_image }}" command: /usr/local/bin/etcd --advertise-client-urls http://{{ etcd_host }}:{{ etcd_port }} --listen-client-urls http://{{ etcd_host }}:{{ etcd_port }} -advertise-client-urls http://{{ etcd_host }}:{{ etcd_peer_port }} -listen-peer-urls http://{{ etcd_host }}:{{ etcd_peer_port }} state: started net: host -- cgit 1.2.3-korg