Skip to content

Commit

Permalink
ci: add a varname to switch all become to false, as GH action does no…
Browse files Browse the repository at this point in the history
…t allow priv escalation anymore
  • Loading branch information
rpelisse committed Jan 30, 2025
1 parent 111349a commit e98ae40
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
molecule_tests:
required: true
type: string
root_permission_varname:
required: false
type: string
sanity_includes:
required: false
type: string
Expand Down Expand Up @@ -213,11 +216,12 @@ jobs:
- name: Run molecule test
run: |
molecule --version
molecule test -s ${{ matrix.molecule_test }}
molecule test -e ${{ inputs.root_permission_varname }}=false -s ${{ matrix.molecule_test }}
working-directory: ./ansible_collections/${{ inputs.fqcn }}
env:
ANSIBLE_VERBOSITY: ${{ inputs.debug_verbosity }}
PROD_JBOSSNETWORK_API_CLIENTID: '${{ secrets.PROD_JBOSSNETWORK_API_CLIENTID }}'
:$
PROD_JBOSSNETWORK_API_CLIENTID: '${{ secrets.PROD_JBOSSNETWORK_API_CLIENTID }}'
PROD_JBOSSNETWORK_API_SECRET: '${{ secrets.PROD_JBOSSNETWORK_API_SECRET }}'
STAGE_JBOSSNETWORK_API_CLIENTID: '${{ secrets.STAGE_JBOSSNETWORK_API_CLIENTID }}'
STAGE_JBOSSNETWORK_API_SECRET: '${{ secrets.STAGE_JBOSSNETWORK_API_SECRET }}'

0 comments on commit e98ae40

Please sign in to comment.