Merge "Optimize execution of RBD set fact"

This commit is contained in:
Jenkins 2017-07-14 16:11:30 +00:00 committed by Gerrit Code Review
commit c8862e4d8f

View File

@ -39,7 +39,10 @@
{{ _var }}
delegate_to: localhost
delegate_facts: True
run_once: yes
when:
- "'nova_compute' in group_names"
- "inventory_hostname == ((groups['nova_compute'] | intersect(ansible_play_hosts)) | list)[0]"
- "hostvars['localhost']['nova_cinder_rbd_inuse'] is not defined"
tags:
- always