From 9e1d3d6e62abf5d0da26a296bcd235f37a54d9c6 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Mon, 26 Mar 2018 10:23:13 +0100 Subject: xci: playbooks: Fixes various ansible-lint warnings In preparation for adding support for the 'ansible-lint' tool we fix various problems in our playbooks to make the tool happy before we make it mandatory. Some of the problems that are fixed here are - [ANSIBLE0011] All tasks should be named - [ANSIBLE0012] Commands should not change things if nothing needs doing - [ANSIBLE0013] Use shell only when shell functionality is required - [ANSIBLE0010] Package installs should not use latest installer-type:osa deploy-scenario:os-nosdn-nofeature Change-Id: I66c759d3932a414b81b2846393d2d98ce80c0b6d Signed-off-by: Markos Chandras --- xci/playbooks/configure-localhost.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'xci/playbooks/configure-localhost.yml') diff --git a/xci/playbooks/configure-localhost.yml b/xci/playbooks/configure-localhost.yml index c8a9840c..f64400e3 100644 --- a/xci/playbooks/configure-localhost.yml +++ b/xci/playbooks/configure-localhost.yml @@ -103,3 +103,4 @@ shell: env > "{{ xci_path }}/.cache/xci.env" args: executable: /bin/bash + creates: "{{ xci_path }}/.cache/xci.env" -- cgit 1.2.3-korg