diff --git a/.github/workflows/Test_installation_assistant.yml b/.github/workflows/Test_installation_assistant.yml index c517dad..26347c0 100644 --- a/.github/workflows/Test_installation_assistant.yml +++ b/.github/workflows/Test_installation_assistant.yml @@ -193,9 +193,10 @@ jobs: -e "pkg_repository=$PKG_REPOSITORY" \ "${{ inputs.VERBOSITY }}" EXIT_CODE=$? - echo "$EXIT_CODE" echo "install_aio=$EXIT_CODE" >> $GITHUB_OUTPUT - + if [ $EXIT_CODE != 0 ]; then + exit 1 + fi - name: Execute Python test playbook id: execute_test diff --git a/.github/workflows/ansible-playbooks/aio.yml b/.github/workflows/ansible-playbooks/aio.yml index 4acd184..a4980bc 100644 --- a/.github/workflows/ansible-playbooks/aio.yml +++ b/.github/workflows/ansible-playbooks/aio.yml @@ -9,7 +9,7 @@ tasks: - name: Test assistant AIO install - command: "bash {{ script_name }} -a -v -d {{ pkg_repository }}" + command: "bash {{ script_name }} -a -v -id -d {{ pkg_repository }}" args: chdir: "{{ script_path }}" register: install_results