diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-02-20 12:19:07 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-02-22 16:05:38 +0000 |
commit | 53153e114017d193cdf9b88f21f4eac31bad72b7 (patch) | |
tree | 6cbe624d67ec51733928ea4a54a50d613b4b94c5 /resources/libraries/bash/function/setup.sh | |
parent | 138c1b1f56a2b59afeafb92379e955b9baf95e7a (diff) |
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 <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/bash/function/setup.sh')
-rw-r--r-- | resources/libraries/bash/function/setup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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!" |