diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/neutron-compute')
-rw-r--r-- | deploy/adapters/ansible/roles/neutron-compute/handlers/main.yml | 2 | ||||
-rw-r--r-- | deploy/adapters/ansible/roles/neutron-compute/tasks/main.yml | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/deploy/adapters/ansible/roles/neutron-compute/handlers/main.yml b/deploy/adapters/ansible/roles/neutron-compute/handlers/main.yml index ca4e8088..83737980 100644 --- a/deploy/adapters/ansible/roles/neutron-compute/handlers/main.yml +++ b/deploy/adapters/ansible/roles/neutron-compute/handlers/main.yml @@ -9,7 +9,7 @@ --- - name: restart neutron compute service service: name={{ item }} state=restarted enabled=yes - with_items: services | union(services_noarch) + with_items: "{{ services | union(services_noarch) }}" - name: restart nova-compute services service: name=nova-compute state=restarted enabled=yes diff --git a/deploy/adapters/ansible/roles/neutron-compute/tasks/main.yml b/deploy/adapters/ansible/roles/neutron-compute/tasks/main.yml index 375e325d..3e58cc38 100644 --- a/deploy/adapters/ansible/roles/neutron-compute/tasks/main.yml +++ b/deploy/adapters/ansible/roles/neutron-compute/tasks/main.yml @@ -30,7 +30,7 @@ - name: install compute-related neutron packages action: "{{ ansible_pkg_mgr }} name={{ item }} state=present" - with_items: packages | union(packages_noarch) + with_items: "{{ packages | union(packages_noarch) }}" - name: enable auto start file: @@ -52,7 +52,7 @@ - name: generate neutron compute service list lineinfile: dest=/opt/service create=yes line='{{ item }}' - with_items: services | union(services_noarch) + with_items: "{{ services | union(services_noarch) }}" - name: config ml2 plugin template: src=templates/ml2_conf.ini @@ -72,4 +72,4 @@ - meta: flush_handlers - include: ../../neutron-network/tasks/odl.yml - when: "'opendaylight' in {{ NEUTRON_MECHANISM_DRIVERS }}" + when: "'opendaylight' in {{ NEUTRON_MECHANISM_DRIVERS | to_json }}" |