summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorDi Xu <di.xu@arm.com>2018-05-28 17:11:20 +0800
committerDi Xu <di.xu@arm.com>2018-05-29 09:54:03 +0800
commit63ff6c6ec9ebbca90ac7304a27c0430dbcecb74f (patch)
treec80fe62a5c891d94c82bdc2b785efcc4881839a8 /ci
parentf54e4aa4fd49b0d0beef8730dc6357e2407fd42f (diff)
fix syntax error for etcd_docker_image due to ansible upgrade
Change-Id: Id3553216d4027ab576968de44a8d242afe341b2c Signed-off-by: Di Xu <di.xu@arm.com>
Diffstat (limited to 'ci')
-rw-r--r--ci/ansible/roles/cleaner/tasks/main.yml2
-rw-r--r--ci/ansible/roles/osdsdb/scenarios/container.yml2
2 files changed, 2 insertions, 2 deletions
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