diff --git a/.github/workflows/test_ansible.yml b/.github/workflows/test_ansible.yml index 2bbe4d6..dba2f1e 100644 --- a/.github/workflows/test_ansible.yml +++ b/.github/workflows/test_ansible.yml @@ -17,7 +17,10 @@ on: default: "" # ex: "-s SCENARIO_NAME" required: false type: string - + requirements_file: + default: "requirements.txt" + required: false + type: string jobs: molecule: runs-on: ubuntu-latest @@ -38,7 +41,7 @@ jobs: python-version: "3.x" - name: Install dependencies - run: pip install -r requirements.txt + run: pip install -r ${{ inputs.requirements_file }} - name: Run molecule test run: molecule test ${{ inputs.molecule_scenario }}