Removed useless "when"

With | default({}) in our with items, the task will be skipped if
the the variable is undefined. No need for a when.

Change-Id: Ie896084646a7393b92a8f9b3372510eb754dd35d
This commit is contained in:
Jean-Philippe Evrard 2016-04-27 09:40:39 +01:00
parent 233e5ac0e8
commit 1b3fdfd834
1 changed files with 0 additions and 1 deletions

View File

@ -212,7 +212,6 @@
echo '{{ item.key }}={{ item.value }}' | tee -a /etc/environment
fi
with_dict: "{{ global_environment_variables | default({}) }}"
when: global_environment_variables is defined
delegate_to: "{{ physical_host }}"
tags:
- lxc-container-proxy