Fix the syntax error for manila in neutron role

This is introduced by I21904659b1789fa71118401bfb6ac2227ae564da

TrivialFix

Change-Id: I8ab62c5b6c69e198e29205518941a9b0054c105f
This commit is contained in:
Jeffrey Zhang 2016-02-27 11:32:37 +08:00
parent c81097df8b
commit 4af394a242
3 changed files with 12 additions and 12 deletions

View File

@ -7,7 +7,7 @@
- include: config.yml - include: config.yml
when: inventory_hostname in groups['compute'] when: inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent'] or inventory_hostname in groups['neutron-metadata-agent']
@ -23,7 +23,7 @@
- include: start.yml - include: start.yml
when: inventory_hostname in groups['compute'] when: inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent'] or inventory_hostname in groups['neutron-metadata-agent']

View File

@ -20,7 +20,7 @@
image: "{{ neutron_linuxbridge_agent_image_full }}" image: "{{ neutron_linuxbridge_agent_image_full }}"
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])
@ -40,7 +40,7 @@
image: "{{ neutron_openvswitch_agent_image_full }}" image: "{{ neutron_openvswitch_agent_image_full }}"
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])
@ -60,7 +60,7 @@
image: "{{ openvswitch_db_image_full }}" image: "{{ openvswitch_db_image_full }}"
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])
@ -73,7 +73,7 @@
image: "{{ openvswitch_vswitchd_image_full }}" image: "{{ openvswitch_vswitchd_image_full }}"
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])

View File

@ -11,7 +11,7 @@
- "openvswitch_db:/var/lib/openvswitch/" - "openvswitch_db:/var/lib/openvswitch/"
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])
@ -26,7 +26,7 @@
delay: 2 delay: 2
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])
@ -38,7 +38,7 @@
changed_when: status.stdout.find('changed') != -1 changed_when: status.stdout.find('changed') != -1
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])
@ -57,7 +57,7 @@
- "/run:/run" - "/run:/run"
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])
@ -89,7 +89,7 @@
when: when:
- ( - (
( inventory_hostname in groups['compute'] ( inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent'] or inventory_hostname in groups['neutron-metadata-agent']
@ -139,7 +139,7 @@
- "kolla_logs:/var/log/kolla/" - "kolla_logs:/var/log/kolla/"
when: when:
- (inventory_hostname in groups['compute'] - (inventory_hostname in groups['compute']
inventory_hostname in groups['manila-share'] or inventory_hostname in groups['manila-share']
or inventory_hostname in groups['neutron-dhcp-agent'] or inventory_hostname in groups['neutron-dhcp-agent']
or inventory_hostname in groups['neutron-l3-agent'] or inventory_hostname in groups['neutron-l3-agent']
or inventory_hostname in groups['neutron-metadata-agent']) or inventory_hostname in groups['neutron-metadata-agent'])