From e37c1c4bd0f19c392ccd8a50c82d9ffa462cf715 Mon Sep 17 00:00:00 2001 From: David Grier Date: Wed, 3 Jun 2020 02:59:57 +0000 Subject: [PATCH] deployment scripts --- bootstrap_kafka_rax.sh | 8 ++++++++ bootstrap_kafka_static.sh | 8 ++++++++ confluent_community_static.sh | 8 ++++++++ 3 files changed, 24 insertions(+) create mode 100755 bootstrap_kafka_rax.sh create mode 100755 bootstrap_kafka_static.sh create mode 100755 confluent_community_static.sh diff --git a/bootstrap_kafka_rax.sh b/bootstrap_kafka_rax.sh new file mode 100755 index 0000000..f9efec4 --- /dev/null +++ b/bootstrap_kafka_rax.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +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" + +export $VARS +ansible-playbook -f 20 -i inventory/rax.py playbooks/bootstrap_kafka.yml diff --git a/bootstrap_kafka_static.sh b/bootstrap_kafka_static.sh new file mode 100755 index 0000000..bc70c71 --- /dev/null +++ b/bootstrap_kafka_static.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +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" + +export $VARS +ansible-playbook -f 20 -i inventory/static playbooks/bootstrap_kafka.yml diff --git a/confluent_community_static.sh b/confluent_community_static.sh new file mode 100755 index 0000000..0c1caa2 --- /dev/null +++ b/confluent_community_static.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +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" + +export $VARS +ansible-playbook -f 20 -vvv -i inventory/static playbooks/confluent-community.yml