From 6072a49adb33f2bce3f48b9c7b8be7d96cf8501c Mon Sep 17 00:00:00 2001 From: liyuenan Date: Thu, 22 Dec 2016 16:59:08 +0800 Subject: Update ansible version JIRA: COMPASS-511 Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8 Signed-off-by: liyuenan --- deploy/adapters/ansible/roles/glance/tasks/glance_install.yml | 4 ++-- deploy/adapters/ansible/roles/glance/tasks/nfs.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'deploy/adapters/ansible/roles/glance/tasks') diff --git a/deploy/adapters/ansible/roles/glance/tasks/glance_install.yml b/deploy/adapters/ansible/roles/glance/tasks/glance_install.yml index a4783630..9c95546d 100644 --- a/deploy/adapters/ansible/roles/glance/tasks/glance_install.yml +++ b/deploy/adapters/ansible/roles/glance/tasks/glance_install.yml @@ -9,11 +9,11 @@ --- - name: install glance packages action: "{{ ansible_pkg_mgr }} name={{ item }} state=latest" - with_items: packages | union(packages_noarch) + with_items: "{{ packages | union(packages_noarch) }}" - name: generate glance service list lineinfile: dest=/opt/service create=yes line='{{ item }}' - with_items: services | union(services_noarch) + with_items: "{{ services | union(services_noarch) }}" - name: update glance conf template: src={{ item }} dest=/etc/glance/{{ item }} diff --git a/deploy/adapters/ansible/roles/glance/tasks/nfs.yml b/deploy/adapters/ansible/roles/glance/tasks/nfs.yml index 39a49dc1..f0176c89 100644 --- a/deploy/adapters/ansible/roles/glance/tasks/nfs.yml +++ b/deploy/adapters/ansible/roles/glance/tasks/nfs.yml @@ -9,7 +9,7 @@ --- - name: install nfs packages action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" - with_items: nfs_packages + with_items: "{{ nfs_packages }}" - name: install nfs local_action: yum name={{ item }} state=present -- cgit 1.2.3-korg