xci: playbooks: Fixes various ansible-lint warnings 73/54473/4
authorMarkos Chandras <mchandras@suse.de>
Mon, 26 Mar 2018 09:23:13 +0000 (10:23 +0100)
committerMarkos Chandras <mchandras@suse.de>
Mon, 26 Mar 2018 19:47:17 +0000 (20:47 +0100)
commit9e1d3d6e62abf5d0da26a296bcd235f37a54d9c6
treefc2fb9d8056786b4543379977fb8e72de3f2125b
parent8f3c33c97acc5fc10a83e7cc7635da67e2460769
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 <mchandras@suse.de>
xci/installer/kubespray/playbooks/configure-opnfvhost.yml
xci/installer/osa/playbooks/configure-opnfvhost.yml
xci/playbooks/configure-localhost.yml
xci/playbooks/get-opnfv-scenario-requirements.yml
xci/playbooks/roles/bootstrap-host/tasks/network.yml
xci/playbooks/roles/bootstrap-host/tasks/time.yml
xci/playbooks/roles/configure-nfs/tasks/main.yml
xci/playbooks/roles/prepare-functest/tasks/main.yml