diff --git a/curl_execute.yaml b/curl_execute.yaml index 6e74edb..ef3dcb9 100644 --- a/curl_execute.yaml +++ b/curl_execute.yaml @@ -29,7 +29,7 @@ - { name: 'script1.sh' } - name: Execute downloaded scripts - shell: "/tmp/downloaded_scripts/{{ item.item.name }} --ip 192.168.8.54" + shell: "/tmp/downloaded_scripts/{{ item.item.name }} --ip 192.168.8.54 --prune " loop: "{{ downloaded_scripts.results }}" register: script_output diff --git a/test-scripts/install_k8s.sh b/test-scripts/install_k8s.sh index fbd552a..3b8aa70 100644 --- a/test-scripts/install_k8s.sh +++ b/test-scripts/install_k8s.sh @@ -93,7 +93,8 @@ check_and_install_curl() { # Function to check for existing Kubernetes cluster and prompt for removal check_existing_cluster() { if command_exists kubectl && kubectl cluster-info &>/dev/null; then - read -p "Existing Kubernetes cluster found. Do you want to remove it? (y/N): " remove_cluster + echo "Found existing installation" + echo "Proceed to clean em UP" if [[ $PRUNE != false ]]; then echo "Kubernetes cluster removal skipped. Exiting script." exit 0