diff --git a/ansible/roles/neutron/tasks/deploy.yml b/ansible/roles/neutron/tasks/deploy.yml
index 657db4795cdd2cb675d6193a6396f80eba517bd3..9aba99ec8a863dfd4d93a94ac70118d5687f9a44 100644
--- a/ansible/roles/neutron/tasks/deploy.yml
+++ b/ansible/roles/neutron/tasks/deploy.yml
@@ -7,7 +7,7 @@
 
 - include: config.yml
   when: inventory_hostname in groups['compute']
-        or inventory_hostname in groups['manila-share']
+        or (enable_manila | bool and inventory_hostname in groups['manila-share'])
         or inventory_hostname in groups['neutron-dhcp-agent']
         or inventory_hostname in groups['neutron-l3-agent']
         or inventory_hostname in groups['neutron-metadata-agent']
@@ -23,7 +23,7 @@
 
 - include: start.yml
   when: inventory_hostname in groups['compute']
-        or inventory_hostname in groups['manila-share']
+        or (enable_manila | bool and inventory_hostname in groups['manila-share'])
         or inventory_hostname in groups['neutron-dhcp-agent']
         or inventory_hostname in groups['neutron-l3-agent']
         or inventory_hostname in groups['neutron-metadata-agent']
diff --git a/ansible/roles/neutron/tasks/do_reconfigure.yml b/ansible/roles/neutron/tasks/do_reconfigure.yml
index 6441c96f3ff4530131e5ac6fb628edaee187d2dc..1218d6c2e9081d1b2806048832782f87bf26e5ae 100644
--- a/ansible/roles/neutron/tasks/do_reconfigure.yml
+++ b/ansible/roles/neutron/tasks/do_reconfigure.yml
@@ -21,7 +21,7 @@
   when:
     - (
         ( inventory_hostname in groups['compute']
-          or inventory_hostname in groups['manila-share']
+          or (enable_manila | bool and inventory_hostname in groups['manila-share'])
           or inventory_hostname in groups['neutron-dhcp-agent']
           or inventory_hostname in groups['neutron-l3-agent']
           or inventory_hostname in groups['neutron-metadata-agent']
@@ -43,7 +43,7 @@
   failed_when: container_state.Running == false
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -70,7 +70,7 @@
   when:
     - (
         ( inventory_hostname in groups['compute']
-          or inventory_hostname in groups['manila-share']
+          or (enable_manila | bool and inventory_hostname in groups['manila-share'])
           or inventory_hostname in groups['neutron-dhcp-agent']
           or inventory_hostname in groups['neutron-l3-agent']
           or inventory_hostname in groups['neutron-metadata-agent']
@@ -90,7 +90,7 @@
   failed_when: false
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -118,7 +118,7 @@
   when:
     - (
         ( inventory_hostname in groups['compute']
-          or inventory_hostname in groups['manila-share']
+          or (enable_manila | bool and inventory_hostname in groups['manila-share'])
           or inventory_hostname in groups['neutron-dhcp-agent']
           or inventory_hostname in groups['neutron-l3-agent']
           or inventory_hostname in groups['neutron-metadata-agent']
@@ -138,7 +138,7 @@
     action: "get_container_env"
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -171,7 +171,7 @@
     - item[1]['rc'] == 1
     - (
         ( inventory_hostname in groups['compute']
-          or inventory_hostname in groups['manila-share']
+          or (enable_manila | bool and inventory_hostname in groups['manila-share'])
           or inventory_hostname in groups['neutron-dhcp-agent']
           or inventory_hostname in groups['neutron-l3-agent']
           or inventory_hostname in groups['neutron-metadata-agent']
@@ -236,7 +236,7 @@
     - item[1]['rc'] == 1
     - (
         ( inventory_hostname in groups['compute']
-          or inventory_hostname in groups['manila-share']
+          or (enable_manila | bool and inventory_hostname in groups['manila-share'])
           or inventory_hostname in groups['neutron-dhcp-agent']
           or inventory_hostname in groups['neutron-l3-agent']
           or inventory_hostname in groups['neutron-metadata-agent']
@@ -262,7 +262,7 @@
     - item[0]['KOLLA_CONFIG_STRATEGY'] != 'COPY_ONCE'
     - item[1]['rc'] == 1
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
diff --git a/ansible/roles/neutron/tasks/pull.yml b/ansible/roles/neutron/tasks/pull.yml
index 54061e48a747d8b23b8b7e64ef1325fb0f3838ad..9c5a4cbc6eabe93538d4900603137a9939a2184f 100644
--- a/ansible/roles/neutron/tasks/pull.yml
+++ b/ansible/roles/neutron/tasks/pull.yml
@@ -20,7 +20,7 @@
     image: "{{ neutron_linuxbridge_agent_image_full }}"
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -40,7 +40,7 @@
     image: "{{ neutron_openvswitch_agent_image_full }}"
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -60,7 +60,7 @@
     image: "{{ openvswitch_db_image_full }}"
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -73,7 +73,7 @@
     image: "{{ openvswitch_vswitchd_image_full }}"
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
diff --git a/ansible/roles/neutron/tasks/start.yml b/ansible/roles/neutron/tasks/start.yml
index 90f8a6b9c6458cf2edab5746f0987b3c8ccb4c8a..a4895b5bb3a49c95f72b760372ad9a799ad7b5b1 100644
--- a/ansible/roles/neutron/tasks/start.yml
+++ b/ansible/roles/neutron/tasks/start.yml
@@ -11,7 +11,7 @@
       - "openvswitch_db:/var/lib/openvswitch/"
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -26,7 +26,7 @@
   delay: 2
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -38,7 +38,7 @@
   changed_when: status.stdout.find('changed') != -1
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -57,7 +57,7 @@
       - "/run:/run"
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])
@@ -89,7 +89,7 @@
   when:
     - (
         ( inventory_hostname in groups['compute']
-          or inventory_hostname in groups['manila-share']
+          or (enable_manila | bool and inventory_hostname in groups['manila-share'])
           or inventory_hostname in groups['neutron-dhcp-agent']
           or inventory_hostname in groups['neutron-l3-agent']
           or inventory_hostname in groups['neutron-metadata-agent']
@@ -139,7 +139,7 @@
       - "kolla_logs:/var/log/kolla/"
   when:
     - (inventory_hostname in groups['compute']
-       or inventory_hostname in groups['manila-share']
+       or (enable_manila | bool and inventory_hostname in groups['manila-share'])
        or inventory_hostname in groups['neutron-dhcp-agent']
        or inventory_hostname in groups['neutron-l3-agent']
        or inventory_hostname in groups['neutron-metadata-agent'])