Merge "Split ansible_limit with a colon."
This commit is contained in:
commit
32fd607bac
@ -358,7 +358,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['cinder_backup'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ cinder_backup_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -345,7 +345,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['cinder_volume'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ cinder_volume_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -519,7 +519,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['mysql'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ mysql_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -444,7 +444,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['redis'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ redis_short_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -540,7 +540,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['haproxy'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ haproxy_short_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -324,7 +324,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['manila_share'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ manila_share_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -456,7 +456,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['ovn_dbs'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ ovn_dbs_short_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -252,7 +252,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['pacemaker'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ pacemaker_short_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -393,7 +393,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['oslo_messaging_notify'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ oslo_messaging_notify_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -392,7 +392,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['rabbitmq'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ rabbitmq_short_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
@ -399,7 +399,7 @@ outputs:
|
||||
cacheable: no
|
||||
when:
|
||||
- groups['oslo_messaging_rpc'] | length > 1
|
||||
- item.split('.')[0] in ansible_limit.split(',')
|
||||
- item.split('.')[0] in ansible_limit.split(':')
|
||||
loop: "{{ oslo_messaging_rpc_node_names | default([]) }}"
|
||||
- fail:
|
||||
msg: >
|
||||
|
Loading…
x
Reference in New Issue
Block a user