diff --git a/bootstrap_dedicated.sh b/bootstrap_dedicated.sh index 7a18818..93f111f 100755 --- a/bootstrap_dedicated.sh +++ b/bootstrap_dedicated.sh @@ -1,3 +1,6 @@ #!/bin/bash -ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -f 20 -i inventory/static playbooks/bootstrap.yml +VARS="${VARS} ANSIBLE_SCP_IF_SSH=y ANSIBLE_HOST_KEY_CHECKING=False" + +export $VARS +ansible-playbook -f 20 -i inventory/static playbooks/bootstrap.yml diff --git a/bootstrap_rax.sh b/bootstrap_rax.sh index 8e7aec6..b2ab3bc 100755 --- a/bootstrap_rax.sh +++ b/bootstrap_rax.sh @@ -2,5 +2,7 @@ export RAX_CREDS_FILE=$(grep rax_credentials_file playbooks/group_vars/all|cut -d"'" -f2) export RAX_REGION=$(grep rax_region playbooks/group_vars/all|cut -d"'" -f2) +VARS="${VARS} ANSIBLE_SCP_IF_SSH=y ANSIBLE_HOST_KEY_CHECKING=False" -ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i inventory/rax.py playbooks/bootstrap.yml +export $VARS +ansible-playbook -f 20 -i inventory/rax.py playbooks/bootstrap.yml diff --git a/hortonworks_dedicated.sh b/hortonworks_dedicated.sh index 1c58ec4..79d10b5 100755 --- a/hortonworks_dedicated.sh +++ b/hortonworks_dedicated.sh @@ -1,3 +1,6 @@ #!/bin/bash -ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -f 20 -i inventory/static playbooks/hortonworks.yml +VARS="${VARS} ANSIBLE_SCP_IF_SSH=y ANSIBLE_HOST_KEY_CHECKING=False" + +export $VARS +ansible-playbook -f 20 -i inventory/static playbooks/hortonworks.yml diff --git a/hortonworks_rax.sh b/hortonworks_rax.sh index de797ee..219c169 100755 --- a/hortonworks_rax.sh +++ b/hortonworks_rax.sh @@ -2,5 +2,7 @@ export RAX_CREDS_FILE=$(grep rax_credentials_file playbooks/group_vars/all|cut -d"'" -f2) export RAX_REGION=$(grep rax_region playbooks/group_vars/all|cut -d"'" -f2) +VARS="${VARS} ANSIBLE_SCP_IF_SSH=y ANSIBLE_HOST_KEY_CHECKING=False" -ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i inventory/rax.py playbooks/hortonworks.yml +export $VARS +ansible-playbook -f 20 -i inventory/rax.py playbooks/hortonworks.yml diff --git a/tools_dedicated.sh b/tools_dedicated.sh index 49b9aa5..02eba7e 100755 --- a/tools_dedicated.sh +++ b/tools_dedicated.sh @@ -1,4 +1,7 @@ #!/bin/bash -ansible-playbook -vvv -i inventory/static playbooks/tools.yml +VARS="${VARS} ANSIBLE_SCP_IF_SSH=y ANSIBLE_HOST_KEY_CHECKING=False" + +export $VARS +ansible-playbook -f 20 -i inventory/static playbooks/tools.yml diff --git a/tools_rax.sh b/tools_rax.sh index fedc8fe..7336953 100755 --- a/tools_rax.sh +++ b/tools_rax.sh @@ -2,5 +2,7 @@ export RAX_CREDS_FILE=$(grep rax_credentials_file playbooks/group_vars/all|cut -d"'" -f2) export RAX_REGION=$(grep rax_region playbooks/group_vars/all|cut -d"'" -f2) +VARS="${VARS} ANSIBLE_SCP_IF_SSH=y ANSIBLE_HOST_KEY_CHECKING=False" -ansible-playbook -vvv -i inventory/rax.py playbooks/tools.yml +export $VARS +ansible-playbook -f 20 -i inventory/rax.py playbooks/tools.yml