Clean Boolean condition check on exists check
"bool" filter is not required cause exists return Boolean Change-Id: I5fa53ec1ebba14ebb8ed3d3d75ae4fb0c6666c44
This commit is contained in:
parent
9a520e0906
commit
41d4d7bcaf
@ -309,7 +309,7 @@
|
||||
dest: "{{ node_config_directory }}/{{ service_name }}/policy.json"
|
||||
register: policy_jsons
|
||||
when:
|
||||
- neutron_policy.stat.exists | bool
|
||||
- neutron_policy.stat.exists
|
||||
- item.value.enabled | bool
|
||||
- item.value.host_in_groups | bool
|
||||
with_dict: "{{ neutron_services }}"
|
||||
|
Loading…
Reference in New Issue
Block a user