diff options
author | liyuenan <liyuenan@huawei.com> | 2016-12-22 16:59:08 +0800 |
---|---|---|
committer | liyuenan <liyuenan@huawei.com> | 2016-12-26 17:54:43 +0800 |
commit | 6072a49adb33f2bce3f48b9c7b8be7d96cf8501c (patch) | |
tree | a78a15b915741bb3ef7ddd4a61a801dd9f46d577 /deploy/adapters/ansible/roles/heat | |
parent | a9041dbf7b68f56169e82de3c37601b7e86867b0 (diff) |
Update ansible version
JIRA: COMPASS-511
Change-Id: Id0e83c65a08c9f9036b5d3a597b905e8a7bde6e8
Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/heat')
-rw-r--r-- | deploy/adapters/ansible/roles/heat/handlers/main.yml | 2 | ||||
-rw-r--r-- | deploy/adapters/ansible/roles/heat/tasks/heat_install.yml | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/deploy/adapters/ansible/roles/heat/handlers/main.yml b/deploy/adapters/ansible/roles/heat/handlers/main.yml index 6cc567f0..77946a51 100644 --- a/deploy/adapters/ansible/roles/heat/handlers/main.yml +++ b/deploy/adapters/ansible/roles/heat/handlers/main.yml @@ -9,7 +9,7 @@ --- - name: restart heat service service: name={{ item }} state=restarted enabled=yes - with_items: services | union(services_noarch) + with_items: "{{ services | union(services_noarch) }}" - name: remove heat-sqlite-db shell: rm /var/lib/heat/heat.sqlite || touch heat.sqlite.db.removed diff --git a/deploy/adapters/ansible/roles/heat/tasks/heat_install.yml b/deploy/adapters/ansible/roles/heat/tasks/heat_install.yml index 6a0f1c73..15334d40 100644 --- a/deploy/adapters/ansible/roles/heat/tasks/heat_install.yml +++ b/deploy/adapters/ansible/roles/heat/tasks/heat_install.yml @@ -11,13 +11,11 @@ - name: install heat related packages action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" - with_items: packages | union(packages_noarch) + with_items: "{{ packages | union(packages_noarch) }}" - name: generate heat service list lineinfile: dest=/opt/service create=yes line='{{ item }}' - with_items: services | union(services_noarch) - -# ' + with_items: "{{ services | union(services_noarch) }}" - name: create heat user domain shell: > |