fix ansible warning about blazar

In Ansible 2.3.0 when statements should not include jinja2 templating
delimiters such as {{ }} or {% %}
this ps fixes it

Change-Id: I33a42eb8184b77e78332caa2a255e0f251fdf9fc
This commit is contained in:
wu.chunyang 2018-06-09 14:43:32 +00:00
parent 956c5b61c6
commit ebd353e661

View File

@ -46,7 +46,7 @@
changed_when: blazar_host_aggregate | success changed_when: blazar_host_aggregate | success
failed_when: failed_when:
- blazar_host_aggregate.rc != 0 - blazar_host_aggregate.rc != 0
- "{{ 'already' not in blazar_host_aggregate.stderr }}" - blazar_host_aggregate.stderr.find('already') == -1
run_once: True run_once: True
delegate_to: "{{ groups['blazar-api'][0] }}" delegate_to: "{{ groups['blazar-api'][0] }}"