diff --git a/action.yml b/action.yml index 66ce4e5..e084da6 100644 --- a/action.yml +++ b/action.yml @@ -127,7 +127,7 @@ runs: - name: Run Ansible Playbook shell: bash run: | - EE-REQUIREMENTS_PIP='/workspace/${{ gitea.repository }}/plays/roles/michaelsasser.${{ steps.get-role-info.outputs.role_name }}/meta/ee-requirements.txt' + EE_REQUIREMENTS_PIP='/workspace/${{ gitea.repository }}/plays/roles/michaelsasser.${{ steps.get-role-info.outputs.role_name }}/meta/ee-requirements.txt' # Only install dependencies if there are some if [ '${{ steps.get-role-has-dependencies.outputs.role_has_dependencies }}' = 'true' ]; then @@ -140,8 +140,8 @@ runs: ansible-runner run --playbook '/workspace/${{ gitea.repository }}/plays/${{ steps.get-role-info.outputs.role_name }}.yml' --inventory '/workspace/${{ gitea.repository }}/inventory/hosts.yml' --cmdline '--private-key /home/runner/.ssh/id_ed25519' '/workspace/${{ gitea.repository }}' else # Install pip dependencies - if [ -f "${EE-REQUIREMENTS_PIP}" ]; then - pip install --no-cache-dir --break-system-packages -r "${EE-REQUIREMENTS_PIP}" + if [ -f "${EE_REQUIREMENTS_PIP}" ]; then + pip install --no-cache-dir --break-system-packages -r "${EE_REQUIREMENTS_PIP}" fi ansible-playbook --version