From 14c69ac3f074d7cea31687ecc105c015b8a55ec7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 9 Dec 2018 00:56:13 +0100 Subject: cleanup and imrpovement of vm roles (still not working) --- vm-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm-install.sh') diff --git a/vm-install.sh b/vm-install.sh index 933992cb..e8893efa 100755 --- a/vm-install.sh +++ b/vm-install.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then - echo "$0 " + echo "$0 " exit 1 fi name=$1 @@ -24,4 +24,4 @@ echo "########## clearing old ssh host keys #########" echo "" echo "######## running the install playbook ########" -exec ansible-playbook -e "vmname=$name" -e "vmdistro=$distro" -e "vmdistcodename=$codename" $@ "$env_group/vm-install.yml" +exec ansible-playbook -e "hostname=$name" -e "install_distro=$distro" -e "install_codename=$codename" -e "hostenv=$env_group" $@ "$env_group/vm-install.yml" -- cgit v1.2.3