Fix failed task of setting up bash completion for helm (#1968)

Closes: #1967
This commit is contained in:
Stanislav Makar 2017-11-13 12:15:53 +02:00 committed by Matthew Mosesohn
parent 37125866ca
commit 037edf1215

View file

@ -36,4 +36,4 @@
- name: Helm | Set up bash completion
shell: "umask 022 && {{ bin_dir }}/helm completion bash >/etc/bash_completion.d/helm.sh"
when: (helm_container is defined and helm_container.changed) or (helm_task_result is defined and helm_task_result.changed) and not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]
when: ((helm_container is defined and helm_container.changed) or (helm_task_result is defined and helm_task_result.changed)) and not ansible_os_family in ["CoreOS", "Container Linux by CoreOS"]