diff options
author | Manuel Buil <mbuil@suse.com> | 2018-10-19 18:34:47 +0200 |
---|---|---|
committer | Manuel Buil <mbuil@suse.com> | 2018-10-19 18:34:47 +0200 |
commit | 9739f4cfe5ad98ad4811d98e9ae6452f0e55a0be (patch) | |
tree | 6d942d8fdbf15d63fc3fc757733203a4909f6d90 /.yamllint | |
parent | 6b956361494a573dfcd7e1440b8183e77be94ee4 (diff) |
Use changed_when instead of the when condition
The 'when' condition does not make sense and it was added in order to
avoid the ansible-lint error which requires all command or shell modules
to use a condition. This can be avoided with changed_when as explained:
http://willthames.github.io/2016/09/21/using-command-and-shell-in-ansible.html
Change-Id: I36316ea0848cff9763745af6dd8d8defcd993b70
Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to '.yamllint')
0 files changed, 0 insertions, 0 deletions