diff --git a/bin/offline-cluster.sh b/bin/offline-cluster.sh index fb263f19d..0fd3348c1 100755 --- a/bin/offline-cluster.sh +++ b/bin/offline-cluster.sh @@ -11,8 +11,10 @@ ls $ANSIBLE_DIR/inventory/offline if [ -f "$ANSIBLE_DIR/inventory/offline/hosts.ini" ]; then INVENTORY_FILE="$ANSIBLE_DIR/inventory/offline/hosts.ini" + cat "$INVENTORY_FILE" elif [ -f "$ANSIBLE_DIR/inventory/offline/inventory.yml" ]; then INVENTORY_FILE="$ANSIBLE_DIR/inventory/offline/inventory.yml" + cat "$INVENTORY_FILE" else echo "No inventory file in ansible/inventory/offline/. Please supply an $ANSIBLE_DIR/inventory/offline/inventory.yml or $ANSIBLE_DIR/inventory/offline/hosts.ini" exit -1 @@ -50,10 +52,10 @@ ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/sync_time.yml -v ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/kubernetes.yml --skip-tags bootstrap-os,preinstall,container-engine,multus # Deploy all other services which don't run in kubernetes. -ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/cassandra.yml -ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/elasticsearch.yml -ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/minio.yml -ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/restund.yml +ansible-playbook -i -vvv $INVENTORY_FILE $ANSIBLE_DIR/cassandra.yml +ansible-playbook -i -vvv $INVENTORY_FILE $ANSIBLE_DIR/elasticsearch.yml +ansible-playbook -i -vvv $INVENTORY_FILE $ANSIBLE_DIR/minio.yml +ansible-playbook -i -vvv $INVENTORY_FILE $ANSIBLE_DIR/restund.yml # create helm values that tell our helm charts what the IP addresses of cassandra, elasticsearch and minio are: -ansible-playbook -i $INVENTORY_FILE $ANSIBLE_DIR/helm_external.yml --skip-tags=rabbitmq-external +ansible-playbook -i -vvv $INVENTORY_FILE $ANSIBLE_DIR/helm_external.yml --skip-tags=rabbitmq-external diff --git a/terraform/examples/wire-server-deploy-offline-hetzner/outputs.tf b/terraform/examples/wire-server-deploy-offline-hetzner/outputs.tf index 87294ed5e..c1535555f 100644 --- a/terraform/examples/wire-server-deploy-offline-hetzner/outputs.tf +++ b/terraform/examples/wire-server-deploy-offline-hetzner/outputs.tf @@ -65,7 +65,7 @@ output "static-inventory" { } } vars = { - cassandra_network_interface = "ens10" + cassandra_network_interface = "eth0" } } cassandra_seed = { @@ -79,7 +79,7 @@ output "static-inventory" { } } vars = { - elasticsearch_network_interface = "ens10" + elasticsearch_network_interface = "eth0" } } elasticsearch_master = { @@ -93,7 +93,7 @@ output "static-inventory" { } } vars = { - minio_network_interface = "ens10" + minio_network_interface = "eth0" } } restund = { @@ -104,7 +104,7 @@ output "static-inventory" { } } vars = { - restund_network_interface = "ens10" + restund_network_interface = "eth0" } }