From 53153e114017d193cdf9b88f21f4eac31bad72b7 Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Wed, 20 Feb 2019 12:19:07 +0000 Subject: CSIT-1437 Create portable host-setup document - Ansible simplified and optimalized - Porting global variables into single file - Rework the README.md - Tested outside LF environemnt Change-Id: I124cffa5c4510edf365e8b558da0c8c498f55d50 Signed-off-by: Peter Mikus --- resources/libraries/bash/function/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/libraries/bash') diff --git a/resources/libraries/bash/function/setup.sh b/resources/libraries/bash/function/setup.sh index 0b863aa17a..e481c539b4 100644 --- a/resources/libraries/bash/function/setup.sh +++ b/resources/libraries/bash/function/setup.sh @@ -27,7 +27,7 @@ function ansible_host () { pushd "${TOOLS_DIR}"/testbed-setup/ansible || die "Pushd failed!" ssh-copy-id -o StrictHostKeyChecking=no testuser@"${HOST}" ansible-playbook --vault-id vault_pass --extra-vars '@vault.yml' \ - --inventory production site.yaml --limit ${HOST} || { + --inventory lf_inventory site.yaml --limit ${HOST} || { die "Failed to ansible host!" } popd || die "Popd failed!" -- cgit 1.2.3-korg